Hi,
having the various constants in pci_ids.h is a really good thing for grepping through the kernel source. And if they were used, it would be even better (if you e.g. are looking for which driver claims an SIImage 3112 card...). However, the sata_xxx.c files in the drivers/scsi directory are notorious for not using the PCI Ids but just hard coded numbers.
This patch tries to fix this. It is against the 2.6.10 tree from Fedora Core 3 but should apply to a regular 2.6.10 too.
"Notorious", heh. This is quite intentional.
PCI device ids are just random numbers that vendors pick out of thin air. Device id symbolic constants have little value, and creates churn whereby every kernel hacker is patching include/linux/pci_ids.h.
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html