]> git.baikalelectronics.ru Git - kernel.git/commit
sky2: handle advanced error recovery config issues
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 5 Nov 2007 23:52:13 +0000 (15:52 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 10 Nov 2007 09:25:09 +0000 (04:25 -0500)
commit69a5e84ea90dc4fbe6f4db822c5cc76238d6a126
tree2c96afb706f9a87129c95f2631aeab7d21acd6bb
parentbf3bdd70d48d594338e75b0699324deb320fdb49
sky2: handle advanced error recovery config issues

The PCI AER support may not work for a couple of reasons.
It may not be configured into the kernel or there may be a BIOS
bug that prevents MMCONFIG from working.  If MMCONFIG doesn't work
then the PCI registers that control AER will not be accessible via
pci_read_config functions; luckly there is another window to access
PCI space in the device, so use that.

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