patch-2.3.99-pre7 linux/drivers/net/yellowfin.c

Next file: linux/drivers/pci/pci.c
Previous file: linux/drivers/net/wd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/yellowfin.c linux/drivers/net/yellowfin.c
@@ -1255,6 +1255,7 @@
 		goto err_out_free_pio_region;
 	}
 	
+	/* XXX check enable_device for failure */
 	pci_enable_device (pdev);
 	pci_set_master (pdev);
 
@@ -1263,6 +1264,7 @@
 #else
 	real_ioaddr = ioaddr = pci_resource_start (pdev, 1);
 	ioaddr = (long) ioremap(ioaddr, YELLOWFIN_SIZE);
+	/* XXX check for failure */
 #endif
 	irq = pdev->irq;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)