Messages in this thread | | | From | Peter Hüwe <> | Subject | Re: [PATCH 12/25] char: Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used) | Date | Sat, 17 Jul 2010 01:54:52 +0200 |
| |
Am Freitag 16 Juli 2010 06:28:45 schrieb Greg KH: > > Maybe there should be a version of PCI_DEVICE that addresses this issue? > > But I have to admit, something like: > > { PCI_DEVICE_DD(PCI_VENDOR_ID_DIGI, PCI_DEVICE_XR), brd_xrj }, > > doesn't look that much better. > > You can do: > { PCI_DEVICE_TABLE(PCI_VENDOR_ID_DIGI, PCI_DEVICE_XR), brd_xrj }, > just fine today, so do that if you want to.
Hi Greg,
unfortunately I can't find the definition of this macro - can you perhaps pinpoint me to it? And maybe an example in the kernel?
Thanks, Peter
| |