[vortex] problems with 2.2.18 / 3c556B driver

Adam Shand larry@spack.org
Fri, 5 Jan 2001 15:45:48 -0800 (PST)


this solved the problem.  it still doesn't work after a suspend/resume
cycle but after reloading the module it works just fine.

thanks!  if there's anything else i can to do help please just let me
know.

adam.

> 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.
>