[PATCH] sky2: revert pci express extensions
authorStephen Hemminger <shemminger@osdl.org>
Mon, 9 Oct 2006 21:40:38 +0000 (14:40 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 11 Oct 2006 08:07:45 +0000 (04:07 -0400)
commit7bd656d12119708b37414bf909ab2995473da818
treeef32cd6d47d0f3eef843fd239be6f660c0cc0af6
parent370de6cdc2ed27c41b313c031e4258ffa32272bc
[PATCH] sky2: revert pci express extensions

The pci express error handling extensions don't work unless PCI access is via
mmconfig. Otherwise, all accesses to pci config registers greater than 256 fail.
Since the sky2 driver has other ways of getting to PCI config space, it works
around this short coming, but the pci_find_ext_capablity doesn't work.

This backs out commit 91aeb3edbcf4e6ed72d138ac8c22fd68e6d717c3
Go back to hardcoding, since we know where the error registers are anyway.
Fixes  http://bugzilla.kernel.org/show_bug.cgi?id=7222

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