Re: eepro100...

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sat Apr 08 2000 - 15:26:56 EST


Donald Becker wrote:
> > Andrey has forwarded to me the NetBSD fix for this. Apparently, some
> > of the pci registers for this device gets clobbered over the standby/resume
> > cycle. So the fix requires saving the clobbered registers before
> > standby, and restore them after resume.
>
> Arrrggggg. This isn't some magic fix. This is standard PCI 2.0 behavior.
> I've had this in my code for a very long time. Get the version at
> http://cesdis.gsfc.nasa.gov/linux/drivers/kern-2.3/index.html
> ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/

(copied to linux-kernel and Martin Mares, Linux PCI maintainer)

Since 2.2.x stuff like this have been handled in the generic PCI layer,
not on a per-driver basis. (though 2.2.x doesn't cover nearly all the
PCI-related stuff that 2.3.x does, especially WRT PM and hotplug)

Would someone be up to submitting a patch to the kernel which notices
and corrects for this behavior for the general case?

Regards,

        Jeff

-- 
Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:11 EST