summaryrefslogtreecommitdiffstats
path: root/drivers/net/yellowfin.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-05-12 21:05:59 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-05-12 21:05:59 +0000
commitba2dacab305c598cd4c34a604f8e276bf5bab5ff (patch)
tree78670a0139bf4d5ace617b29b7eba82bbc74d602 /drivers/net/yellowfin.c
parentb77bf69998121e689c5e86cc5630d39a0a9ee6ca (diff)
Merge with Linux 2.3.99-pre7 and various other bits.
Diffstat (limited to 'drivers/net/yellowfin.c')
-rw-r--r--drivers/net/yellowfin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/yellowfin.c b/drivers/net/yellowfin.c
index 17207612d..2be7d5823 100644
--- a/drivers/net/yellowfin.c
+++ b/drivers/net/yellowfin.c
@@ -1255,6 +1255,7 @@ static int __devinit yellowfin_init_one(struct pci_dev *pdev,
goto err_out_free_pio_region;
}
+ /* XXX check enable_device for failure */
pci_enable_device (pdev);
pci_set_master (pdev);
@@ -1263,6 +1264,7 @@ static int __devinit yellowfin_init_one(struct pci_dev *pdev,
#else
real_ioaddr = ioaddr = pci_resource_start (pdev, 1);
ioaddr = (long) ioremap(ioaddr, YELLOWFIN_SIZE);
+ /* XXX check for failure */
#endif
irq = pdev->irq;