[patch] opt the sky2 driver into using extended config space

Arjan van de Ven
2007-12-22T12:37:16Z

From: Arjan van de Ven <arjan@linux.intel.com>
Subject: opt the sky2 driver into using extended config space

So far, the sky2 driver is the only one I've identified (with a quick grep)
that actually would be using extended configuration space; the patch below
adds the enablement of this to the driver.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
CC: shemminger@linux-foundation.org

Index: linux-2.6.24-rc5/drivers/net/sky2.c
===================================================================
--- linux-2.6.24-rc5.orig/drivers/net/sky2.c
+++ linux-2.6.24-rc5/drivers/net/sky2.c
@@ -4111,6 +4111,11 @@ static int __devinit sky2_probe(struct p
goto err_out;
}

+ /*
+ * enable extended config space to enable AER
+ */
+ pci_enable_ext_config(pdev);
+
err = pci_request_regions(pdev, DRV_NAME);
if (err) {
dev_err(&pdev->dev, "cannot obtain PCI resources\n");