Re: [PATCH] 2.6.1: Update PCI Name database, fix gen-devlist.c for long device names.

From: Jeff Garzik
Date: Wed Jan 14 2004 - 23:06:45 EST


Kieran Morrissey wrote:
Hi all and sundry..

Although /proc/pci and by extension the name database is allegedly legacy and therefore deprecated, some (including myself) still use it for things such as phpSysInfo, and the still-widespread usage of it is obvious in the regularity of slight patches to pci.ids. So, this is an all-inclusive patch to bring things up to date:

* Updates pci.ids with a snapshot from http://pciids.sourceforge.net/ as at 14 Jan 04.
* Fixes gen-devlist.c to truncate long device names rather than reject the whole database
(previously the latest databases had some devices that were too long and caused a kernel with the latest db to fail to compile)


Well, appreciated, but we really do need to remove it. We don't need these strings in the kernel at all. pci.ids is just a static lookup table that is best kept in userspace.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/