From 043ebdeed7a30517386e5a94951790789b4c8d19 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 10 Sep 2005 12:15:14 +0000 Subject: [PATCH] Compatibility changes git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-80 --- ChangeLog | 5 +++++ TODO | 3 --- lib/pci.h | 2 ++ update-pciids.sh | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6eb55c8..efd7683 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-09-10 Martin Mares + * 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 b92f6c8..3a66950 100644 --- 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: diff --git a/lib/pci.h b/lib/pci.h index c92df14..5b551ba 100644 --- 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 */ diff --git a/update-pciids.sh b/update-pciids.sh index ea89610..146a393 100755 --- a/update-pciids.sh +++ b/update-pciids.sh @@ -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 -- 2.39.2