patch-2.3.37 linux/drivers/pci/compat.c
Next file: linux/drivers/pci/helper.c
Previous file: linux/drivers/parport/parport_pc.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jan 6 09:54:06 2000
- Orig file:
v2.3.36/linux/drivers/pci/compat.c
- Orig date:
Tue Dec 7 09:32:44 1999
diff -u --recursive --new-file v2.3.36/linux/drivers/pci/compat.c linux/drivers/pci/compat.c
@@ -3,7 +3,7 @@
*
* PCI Bus Services -- Function For Backward Compatibility
*
- * Copyright 1998, 1999 Martin Mares <mj@suse.cz>
+ * Copyright 1998--2000 Martin Mares <mj@suse.cz>
*/
#include <linux/types.h>
@@ -13,7 +13,7 @@
int
pcibios_present(void)
{
- return !!pci_devices;
+ return pci_devices.next != &pci_devices;
}
int
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)