]> err.no Git - linux-2.6/commit
[PATCH] sky2: use standard pci register capabilties for error register
authorStephen Hemminger <shemminger@osdl.org>
Tue, 26 Sep 2006 18:57:38 +0000 (11:57 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 27 Sep 2006 21:56:31 +0000 (17:56 -0400)
commit91aeb3edbcf4e6ed72d138ac8c22fd68e6d717c3
tree47e6dc5ace173532b438f35a1e899545178abcc9
parente0ed5459030a8c9ddde44ef49bcb63aa6db425e1
[PATCH] sky2: use standard pci register capabilties for error register

Use the standard pci capability mechanism to access PCI express error
registers, rather than hard coding the offset. Mask off the PCI express
error from ever occuring on non-PCI express systems.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c
drivers/net/sky2.h