]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Add ability to filter by class code
authorMatthew Wilcox <willy@linux.intel.com>
Tue, 30 Sep 2014 18:02:52 +0000 (14:02 -0400)
committerMartin Mares <mj@ucw.cz>
Sun, 2 Nov 2014 10:36:19 +0000 (11:36 +0100)
commit4d1c95253f900ccb62b2b960f9ae34d82ac26f29
tree987e05820c07e475d756c3b419a7823ee30a3b46
parent28617b24727c55959fd9ce2e37bb34d5953fa9ab
lspci: Add ability to filter by class code

Extend the 'filter by device ID' functionality to allow optional
specification of a device ID.  For example, to list all USB controllers
in the system made by Intel, specify:

lspci -d 8086::0c03

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
lib/filter.c
lib/pci.h
lspci.c
lspci.man