sky2: use pci_config access functions
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 26 Sep 2007 02:01:02 +0000 (19:01 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:50:54 +0000 (16:50 -0700)
commit167f53d05fccb47b6eeadac7f6705b3f2f042d03
treeec3fe33aae26b5ec35e32bb710430300d91b0a6f
parent555382cbfc6d2187b53888190755e56f52308cd6
sky2: use pci_config access functions

Use the PCI layer config access functions. The driver was using the
memory mapped window in device, to workaround issues accessing the
advanced error reporting registers.

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