constants vs #define for PCI_DEVICE_/PCI_VENDOR_

From: Kumar Gala
Date: Fri Oct 13 2006 - 12:13:15 EST


I remember some discussion back and forth about the use of constants in pci_device_id entries versus defining new PCI_DEVICE_foo/ PCI_VENDOR_foo defines. What is the current coding style of choice if the vendor & device id's dont exit in pci_ids.h?

- kumar -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/