Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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 <tap@post.cz>

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

authored by

Pavel Roskin and committed by
Jeff Garzik
c8cb00f6 c162eeaa

+1 -1
+1 -1
drivers/net/wireless/orinoco_nortel.c
··· 165 165 goto fail_resources; 166 166 } 167 167 168 - iomem = pci_iomap(pdev, 3, 0); 168 + iomem = pci_iomap(pdev, 2, 0); 169 169 if (!iomem) { 170 170 err = -ENOMEM; 171 171 goto fail_map_io;