patch-2.3.37 linux/drivers/parport/parport_pc.c
Next file: linux/drivers/pci/compat.c
Previous file: linux/drivers/net/pcmcia/tulip_cb.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jan 6 09:54:06 2000
- Orig file:
v2.3.36/linux/drivers/parport/parport_pc.c
- Orig date:
Tue Jan 4 13:57:17 2000
diff -u --recursive --new-file v2.3.36/linux/drivers/parport/parport_pc.c linux/drivers/parport/parport_pc.c
@@ -1828,7 +1828,7 @@
}
/* Look for parallel controllers that we don't know about. */
- for (pcidev = pci_devices; pcidev; pcidev = pcidev->next) {
+ pci_for_each_dev(pcidev) {
const int class_noprogif = pcidev->class & ~0xff;
if (class_noprogif != (PCI_CLASS_COMMUNICATION_PARALLEL << 8))
continue;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)