[PATCH] sky2: use device iomem to access PCI config
authorStephen Hemminger <shemminger@osdl.org>
Wed, 22 Feb 2006 19:45:02 +0000 (11:45 -0800)
committerFrancois Romieu <romieu@fr.zoreil.com>
Thu, 23 Feb 2006 00:25:23 +0000 (01:25 +0100)
commit56a645cc1bc16ab33b33a3e0854a46c5d2c864f3
tree22ecf36723c1a60d87168583dd2f85f049ccfd88
parent9a6d343188f5f1e9537e700fc4139c2d905ff129
[PATCH] sky2: use device iomem to access PCI config

To avoid problems with PCI config access without ACPI (or busted ACPI tables),
use the device's window into PCI config space.

I know this probably will upset the purists, but I would rather have users
than ACPI testers. It also generates less code.

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