Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752675AbXLVMhQ (ORCPT ); Sat, 22 Dec 2007 07:37:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751043AbXLVMhE (ORCPT ); Sat, 22 Dec 2007 07:37:04 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:45769 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750959AbXLVMhB (ORCPT ); Sat, 22 Dec 2007 07:37:01 -0500 Date: Sat, 22 Dec 2007 04:35:59 -0800 From: Arjan van de Ven To: Arjan van de Ven Cc: linux-kernel@vger.kernel.org, gregkh@suse.de, linux-pci@atrey.karlin.mff.cuni.cz, shemminger@linux-foundation.org Subject: [patch] opt the sky2 driver into using extended config space Message-ID: <20071222043559.105e0a6c@laptopd505.fenrus.org> In-Reply-To: <20071222043139.0cd59804@laptopd505.fenrus.org> References: <20071222043139.0cd59804@laptopd505.fenrus.org> Organization: Intel X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Bad-Reply: References and In-Reply-To but no 'Re:' in Subject. X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1134 Lines: 32 From: Arjan van de Ven 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 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"); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/