Skip to content

Commit

Permalink
[PATCH] orinoco_nortel: Fix incorrect PCI resource use
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pavel Roskin authored and Jeff Garzik committed Dec 24, 2005
1 parent c162eea commit c8cb00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/orinoco_nortel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c8cb00f

Please sign in to comment.