patch-2.3.37 linux/drivers/i2o/i2o_pci.c
Next file: linux/drivers/macintosh/via-pmu.c
Previous file: linux/drivers/char/stradis.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Jan 6 09:54:06 2000
- Orig file:
v2.3.36/linux/drivers/i2o/i2o_pci.c
- Orig date:
Thu Nov 18 20:25:37 1999
diff -u --recursive --new-file v2.3.36/linux/drivers/i2o/i2o_pci.c linux/drivers/i2o/i2o_pci.c
@@ -229,9 +229,8 @@
int count=0;
printk(KERN_INFO "i2o: Checking for PCI I2O controllers...\n");
-
- for(dev=pci_devices; dev!=NULL; dev=dev->next)
- {
+
+ pci_for_each_dev(dev) {
if((dev->class>>8)!=PCI_CLASS_INTELLIGENT_I2O)
continue;
if((dev->class&0xFF)>1)
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])