From: Pavel Roskin Date: Fri, 16 Dec 2005 23:49:53 +0000 (-0500) Subject: [PATCH] orinoco_nortel: Fix incorrect PCI resource use X-Git-Tag: v2.6.15-rc7~10^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c8cb00f6ac9aa13b0575726163b165fd2276ff25;p=linux-2.6-omap-h63xx.git [PATCH] orinoco_nortel: Fix incorrect PCI resource use orinoco_nortel was broken during conversion to iomem API. Wrong PCI BAR is used for chipset registers. Reported by Tomas Novak Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/wireless/orinoco_nortel.c b/drivers/net/wireless/orinoco_nortel.c index d8afd51ff8a..e39c08b8870 100644 --- a/drivers/net/wireless/orinoco_nortel.c +++ b/drivers/net/wireless/orinoco_nortel.c @@ -165,7 +165,7 @@ static int nortel_pci_init_one(struct pci_dev *pdev, goto fail_resources; } - iomem = pci_iomap(pdev, 3, 0); + iomem = pci_iomap(pdev, 2, 0); if (!iomem) { err = -ENOMEM; goto fail_map_io;