Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203668
b: refs/heads/master
c: 8cd47ea
h: refs/heads/master
v: v3
  • Loading branch information
Kulikov Vasiliy authored and David S. Miller committed Jul 22, 2010
1 parent 74b2cea commit adcaece
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 963bfeeeec913d135c15dc400f2f86cb62655d81
refs/heads/master: 8cd47ea19bf8c6f9d3a41b3c312237d007138ae0
5 changes: 5 additions & 0 deletions trunk/drivers/net/3c59x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,11 @@ static int __devinit vortex_init_one(struct pci_dev *pdev,
ioaddr = pci_iomap(pdev, pci_bar, 0);
if (!ioaddr) /* If mapping fails, fall-back to BAR 0... */
ioaddr = pci_iomap(pdev, 0, 0);
if (!ioaddr) {
pci_disable_device(pdev);
rc = -ENOMEM;
goto out;
}

rc = vortex_probe1(&pdev->dev, ioaddr, pdev->irq,
ent->driver_data, unit);
Expand Down

0 comments on commit adcaece

Please sign in to comment.