Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 176168
Collapse All | Expand All

(-)lshw-B.02.10/src/core/pci.cc (-1 / +1 lines)
Lines 12-18 __ID("@(#) $Id: pci.cc 1726 2007-02-13 2 Link Here
12
12
13
#define PROC_BUS_PCI "/proc/bus/pci"
13
#define PROC_BUS_PCI "/proc/bus/pci"
14
#define SYS_BUS_PCI "/sys/bus/pci"
14
#define SYS_BUS_PCI "/sys/bus/pci"
15
#define PCIID_PATH "/usr/share/lshw/pci.ids:/usr/local/share/pci.ids:/usr/share/pci.ids:/etc/pci.ids:/usr/share/hwdata/pci.ids:/usr/share/misc/pci.ids"
15
#define PCIID_PATH "/usr/share/misc/pci.ids"
16
16
17
#define PCI_CLASS_REVISION      0x08              /* High 24 bits are class, low 8 revision */
17
#define PCI_CLASS_REVISION      0x08              /* High 24 bits are class, low 8 revision */
18
#define PCI_VENDOR_ID           0x00    /* 16 bits */
18
#define PCI_VENDOR_ID           0x00    /* 16 bits */
(-)lshw-B.02.10/src/core/usb.cc (-1 / +1 lines)
Lines 22-28 Link Here
22
#include <dirent.h>
22
#include <dirent.h>
23
23
24
#define PROCBUSUSBDEVICES "/proc/bus/usb/devices"
24
#define PROCBUSUSBDEVICES "/proc/bus/usb/devices"
25
#define USBID_PATH "/usr/share/lshw/usb.ids:/usr/local/share/usb.ids:/usr/share/usb.ids:/etc/usb.ids:/usr/share/hwdata/usb.ids:/usr/share/misc/usb.ids"
25
#define USBID_PATH "/usr/share/misc/usb.ids"
26
26
27
#define USB_CLASS_PER_INTERFACE         0         /* for DeviceClass */
27
#define USB_CLASS_PER_INTERFACE         0         /* for DeviceClass */
28
#define USB_CLASS_AUDIO                 1
28
#define USB_CLASS_AUDIO                 1
(-)lshw-B.02.10/src/Makefile (-1 / +1 lines)
Lines 25-31 endif Link Here
25
LDSTATIC=-static
25
LDSTATIC=-static
26
LIBS=-llshw
26
LIBS=-llshw
27
27
28
DATAFILES = pci.ids usb.ids oui.txt manuf.txt
28
DATAFILES = oui.txt manuf.txt
29
29
30
all: $(PACKAGENAME) $(PACKAGENAME).1 $(DATAFILES)
30
all: $(PACKAGENAME) $(PACKAGENAME).1 $(DATAFILES)
31
31

Return to bug 176168