]> mj.ucw.cz Git - pciutils.git/commitdiff
Compatibility changes
authorMartin Mares <mj@ucw.cz>
Sat, 10 Sep 2005 12:15:14 +0000 (12:15 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:18:31 +0000 (14:18 +0200)
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-80

ChangeLog
TODO
lib/pci.h
update-pciids.sh

index 6eb55c8007ca7c1785b6ba2cf961285bfa620dd8..efd7683abf30c6ad4a9985512d12d0a14a877899 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-09-10  Martin Mares  <mj@ucw.cz>
 
+       * update-pciids.sh: Changed the default URL for downloading pci.ids
+       to http://pciids.sourceforge.net/v2.2/pci.ids.
+
+       * lib/pci.h (PCI_LIB_VERSION): Added version identifier.
+
        * lib/names.c: Rewritten the name database module almost from scratch.
        Everything is much cleaner and there are hopefully no more memory leaks;
        pci_lookup_name() now uses varargs in a backward compatible fashion.
diff --git a/TODO b/TODO
index b92f6c817603b7a9114cd0051eb037a01749f7e9..3a669506baece8beb5c74209360bdb181841fcb8 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,13 +1,10 @@
 - update the web page
 
-- kill "word"
-
 - some extended capabilities are currently only partially decoded
 - finish PCI-X 2.0 capabilities
 - finish PCI Express support
 - reading of VPD
 - change machine-readable output?
-- "Class %04x" -> "%04x"
 - class 0805?
 
 PCIIDS:
index c92df1491f8d69227155dadf28ba9adc278203f6..5b551ba1f88d603c456f39a113c8fd0d5e6496df 100644 (file)
--- a/lib/pci.h
+++ b/lib/pci.h
@@ -13,6 +13,8 @@
 #include "header.h"
 #include "types.h"
 
+#define PCI_LIB_VERSION 0x020200
+
 /*
  *     PCI Access Structure
  */
index ea89610ffcca88e1f6eb2338e7fd6ed0546d5f5f..146a393db47cb4eecfabd66a546d7fae54dc7a4c 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 set -e
-SRC="http://pciids.sourceforge.net/pci.ids"
+SRC="http://pciids.sourceforge.net/v2.2/pci.ids"
 DEST=pci.ids
 
 if which bzip2 >/dev/null ; then