Messages in this thread | | | Subject | Re: [PATCH 2.6.9-rc2-mm2] Create new function to see if pci dev is present | From | Alan Cox <> | Date | Fri, 24 Sep 2004 22:00:47 +0100 |
| |
On Gwe, 2004-09-24 at 22:19, Greg KH wrote: > > Please include subdevice/subvendor id > > Good idea, but do you see any places in the kernel that would use those > fields, instead of always setting them to PCI_ANY_ID?
If you are taking that path then make it take a pci_device_id table. That makes it behave like other interfaces of the same form, and makes the implementation remarkably trivial.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |