Messages in this thread | | | Date | Fri, 15 Dec 2000 15:04:46 -0800 | From | Bruce Korb <> | Subject | Re: [patch] 2.2.18 PCI_DEVICE_ID_OXSEMI_16PCI954 |
| |
Lukasz Trabinski wrote: > include/linux/pci_ids.h:#define PCI_DEVICE_ID_OXSEMI_16PCI954 0x9501 > > (IMHO that is correct), but in kernel 2.2.18 we have: > (include/kernel/pci.h) > #define PCI_DEVICE_ID_OXSEMI_16PCI954PP 0x9513 > ^^ > > Please correct, if I'm wrong, but IMHO it shuld be: > (include/kernel/pci.h) > #define PCI_DEVICE_ID_OXSEMI_16PCI954 0x9513
Please correct me if *I* am wrong, but shouldn't the names be different if the values are different?
Also, excuse me while I soap-box for a moment: This and other inconsistencies would be easier to deal with if there were a single repository for PCI information from which all the PCI device tables and ID enumerations were derived. I have posted the technology that can easily be adapted to emit both 2.2 and 2.4 flavors of tables, though only PCI-IDE stuff for 2.4 is currently implemented.
See ftp://autogen.linuxave.net/pub/PCIDEV.tgz
Tiny drawback: you must download and use this to generate all the output tables:
ftp://autogen.linuxave.net/pub/autogen-5.1.3.tar.gz
Homepage (with broken download link due to SourceForge outage):
http://AutoGen.SourceForge.net/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |