From f53cfc2c3d8b2ddaaa22b1355eeb42d81133e903 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 17 Jul 2002 20:04:23 +0000 Subject: - drop getting info from XFree86 (XFree now uses http://pciids.sourceforge.net/) - nicer getting of kernel's info --- convert/README.pcitable | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'convert/README.pcitable') diff --git a/convert/README.pcitable b/convert/README.pcitable index 1d5c74cd..a4aa727c 100644 --- a/convert/README.pcitable +++ b/convert/README.pcitable @@ -1,17 +1,29 @@ ################################################################################ # How to merge the pcitable with various source: # + + # update pciutils -# PS: -# A pciids with more accurate information are available from -# http://www.yourvote.com/pci/vendors.txt ./merge2pcitable.pl pciids /usr/share/pci.ids pcitable > pcitable.new +# A pciids with more accurate information are available from +rm -f vendors.txt ; wget http://www.yourvote.com/pci/vendors.txt +./merge2pcitable.pl pciids vendors.txt pcitable > pcitable.new + +# http://www.begent.co.uk/pcids.htm + + # with redhat's pcitable in /tmp/rh_pcitable (from kudzu or anaconda) ./merge2pcitable.pl pcitable /tmp/rh_pcitable pcitable > pcitable.new + # with a new kernel -./merge2pcitable.pl kernel_pcimap $(echo /lib/modules/2.4.*/modules.pcimap | sed 's/ .*//') pcitable > pcitable.new +(cd ~/tmp ; rm -rf lib ; rpm2cpio /RPMS/kernel-2.4.*.rpm |cpio -id './lib/modules/*/modules.*map') +cp -f ~/tmp/lib/modules/*/modules.{pci,usb}map . +rm -rf lib +./merge2pcitable.pl kernel_pcimap modules.pcimap pcitable > pcitable.new +./merge2pcitable.pl kernel_usbmap modules.usbmap usbtable > usbtable.new + # checking the pcitable ./merge2pcitable.pl pcitable pcitable pcitable > /dev/null -- cgit v1.2.1