Skip to contentSkip to conversation

constants vs #define for PCI_DEVICE_/PCI_VENDOR_

DISCUSSION Kumar Gala 1 participant 1 message Oct 13, 2006

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

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