[vortex] problems with 2.2.18 / 3c556B driver
Andrew Morton
andrewm@uow.edu.au
Sat, 06 Jan 2001 01:13:39 +1100
Adam Shand wrote:
>
> hi.
>
> i have this problem on a thinkpad t20. the card works great until i
> suspend/resume. the only way i can find to fix it is to reboot (unloading
> and reloading the module does not work). a friend i work with also has a
> t20 and reloading the module works just fine for him (with the same
> kernel). both of us are running stock debian (woody) boxes.
>
>
Right at the end of the driver could you please try the following?
while (root_vortex_dev) {
struct vortex_private *vp=(void *)(root_vortex_dev->priv);
next_dev = vp->next_module;
unregister_netdev(root_vortex_dev);
- outw(TotalReset, root_vortex_dev->base_addr + EL3_CMD);
+ outw(TotalReset | 0x10, root_vortex_dev->base_addr + EL3_CMD);
release_region(root_vortex_dev->base_addr,
pci_tbl[vp->chip_id].io_size);
kfree(root_vortex_dev);
kfree(vp->priv_addr);
root_vortex_dev = next_dev;
}
and let us know?
Thanks.