patch-2.3.27 linux/drivers/pci/names.c
Next file: linux/drivers/pci/pci.ids
Previous file: linux/drivers/pci/gen-devlist.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Nov 8 11:19:53 1999
- Orig file:
v2.3.26/linux/drivers/pci/names.c
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.26/linux/drivers/pci/names.c linux/drivers/pci/names.c
@@ -39,11 +39,11 @@
#define VENDOR( vendor, name ) static struct pci_device_info __devices_##vendor[] __initdata = {
#define ENDVENDOR() };
-#define DEVICE( vendor, device, name ) { PCI_DEVICE_ID_##device, 0, __devicestr_##vendor##device },
+#define DEVICE( vendor, device, name ) { 0x##device, 0, __devicestr_##vendor##device },
#include "devlist.h"
static const struct pci_vendor_info __initdata pci_vendor_list[] = {
-#define VENDOR( vendor, name ) { PCI_VENDOR_ID_##vendor, sizeof(__devices_##vendor) / sizeof(struct pci_device_info), __vendorstr_##vendor, __devices_##vendor },
+#define VENDOR( vendor, name ) { 0x##vendor, sizeof(__devices_##vendor) / sizeof(struct pci_device_info), __vendorstr_##vendor, __devices_##vendor },
#define ENDVENDOR()
#define DEVICE( vendor, device, name )
#include "devlist.h"
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)