[PATCH] orinoco_nortel: Fix incorrect PCI resource use
authorPavel Roskin <proski@gnu.org>
Fri, 16 Dec 2005 23:49:53 +0000 (18:49 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 24 Dec 2005 15:05:50 +0000 (10:05 -0500)
orinoco_nortel was broken during conversion to iomem API.  Wrong PCI BAR
is used for chipset registers.  Reported by Tomas Novak <tap@post.cz>

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/wireless/orinoco_nortel.c

index d8afd51ff8a59010dd89f26dddcc38ff2e20496c..e39c08b88700d0c5765d86baf4724500d38b150c 100644 (file)
@@ -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;