]> mj.ucw.cz Git - pciutils.git/commitdiff
Fixed printing of unknown subsystem ID's.
authorMartin Mares <mj@ucw.cz>
Sat, 11 Dec 1999 22:38:37 +0000 (22:38 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:10:18 +0000 (14:10 +0200)
Released as 2.1.2.

ChangeLog
Makefile
README
lib/names.c
pci.ids
pciutils.lsm
pciutils.spec

index c58c79b7ac9916106d02df0377faac88f93f6bbc..fa7338445b7fed13d1bc80d4ed16408b287152be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Dec 11 23:34:48 1999  Martin Mares  <mj@albireo.ucw.cz>
+
+       * Released as version 2.1.2.
+
+       * lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's.
+
 Sat Dec  4 13:11:03 1999  Martin Mares  <mj@albireo.ucw.cz>
 
        * Released as version 2.1.1.
index b80fe73c4428f1e7f5bb2e24c9e1b9717d2bb521..a0ff83cd4ec4d9ea023e9fc208e2d6e4c428254b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.26 1999/12/04 12:55:11 mj Exp $
+# $Id: Makefile,v 1.27 1999/12/11 22:38:39 mj Exp $
 # Makefile for Linux PCI Utilities
 # (c) 1998--1999 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
 
@@ -6,10 +6,10 @@ OPT=-O2 -fomit-frame-pointer
 #OPT=-O2 -g
 CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Werror
 
-VERSION=2.1.1
+VERSION=2.1.2
 SUFFIX=
 #SUFFIX=-alpha
-DATE=1999-12-04
+DATE=1999-12-11
 
 ifeq ($(shell uname),FreeBSD)
 ROOT=/usr/local
diff --git a/README b/README
index 489fa17e0d7d478e3f7bbb3d3f1db0428167d1ad..9b409b297c912290cfc2c461ce177a5a95847de2 100644 (file)
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-This package contains the PCI Utilities, version 2.1.1.
+This package contains the PCI Utilities, version 2.1.2.
 
 Copyright (c) 1997--1999 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
 
index 8e39f75f57896388bf649baacdc6ea89048df694..a9bb620e6d7da8f32b3284e6797c7af552c54a20 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     $Id: names.c,v 1.3 1999/10/09 13:26:12 mj Exp $
+ *     $Id: names.c,v 1.4 1999/12/11 22:38:55 mj Exp $
  *
  *     The PCI Library -- ID to Name Translation
  *
@@ -299,9 +299,9 @@ pci_lookup_name(struct pci_access *a, char *buf, int size, int flags, u32 arg1,
          e = nl_lookup(a, 0, NL_VENDOR, arg3, 0, 0, 0);
          e2 = nl_lookup(a, 0, NL_SUBSYSTEM, arg1, arg2, arg3, arg4);
          if (!e)
-           res = snprintf(buf, size, "Unknown device %04x:%04x", arg1, arg2);
+           res = snprintf(buf, size, "Unknown device %04x:%04x", arg3, arg4);
          else if (!e2)
-           res = snprintf(buf, size, "%s: Unknown device %04x", e->name, arg2);
+           res = snprintf(buf, size, "%s: Unknown device %04x", e->name, arg4);
          else
            res = snprintf(buf, size, "%s %s", e->name, e2->name);
        }
diff --git a/pci.ids b/pci.ids
index df51939e521fb96f01359434965951cebb9a95c0..1f1da244e60f3b5b4d85cad7e45e17e46877dbae 100644 (file)
--- a/pci.ids
+++ b/pci.ids
@@ -4,7 +4,7 @@
 #      Maintained by Martin Mares <pci-ids@ucw.cz>
 #      If you have any new entries, send them to the maintainer.
 #
-#      $Id: pci.ids,v 1.43 1999/12/04 12:32:55 mj Exp $
+#      $Id: pci.ids,v 1.44 1999/12/11 22:38:43 mj Exp $
 #
 
 # Vendors, devices and subsystems. Please keep sorted.
        8888  Cinemaster C 3.0 DVD Decoder
 1240  Marathon Technologies Corp.
 1241  DSC Communications
+1242  Jaycor Networks, Inc.
 1243  Delphax
 1244  AVM Audiovisuelles MKTG & Computer System GmbH
        0700  B1 ISDN
index 3fe5d7d53b422e3f47816acd63bdba5beb3c43b4..910c1851436e6da56271ad3181aa6aaf59cea163 100644 (file)
@@ -1,7 +1,7 @@
 Begin3
 Title:          Linux PCI Utilities
-Version:        2.1.1
-Entered-date:   991204
+Version:        2.1.2
+Entered-date:   991211
 Description:    This package contains various utilities for inspecting and
                setting of devices connected to the PCI bus. Requires
                kernel version 2.1.82 or newer (supporting the /proc/bus/pci
@@ -9,7 +9,7 @@ Description:    This package contains various utilities for inspecting and
 Keywords:       kernel, pci, proc, lspci, setpci
 Author:         mj@atrey.karlin.mff.cuni.cz (Martin Mares)
 Maintained-by:  mj@atrey.karlin.mff.cuni.cz (Martin Mares)
-Primary-site:   atrey.karlin.mff.cuni.cz pub/linux/pci/pciutils-2.1.1.tar.gz
-Alternate-site: metalab.unc.edu pub/Linux/hardware/pciutils-2.1.1.tar.gz
+Primary-site:   atrey.karlin.mff.cuni.cz pub/linux/pci/pciutils-2.1.2.tar.gz
+Alternate-site: metalab.unc.edu pub/Linux/hardware/pciutils-2.1.2.tar.gz
 Copying-policy: GPL
 End
index c827578597230482718cc515fa007fbf4cda1bcd..d2319a689b1f0b9694f8495c3423848ed5735e88 100644 (file)
@@ -1,5 +1,5 @@
 Name:          pciutils
-Version:       2.1.1
+Version:       2.1.2
 Release:       1
 Source:                ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
 Copyright:     GNU GPL