adding a line to pci.py to skip System peripheral device in output
lspci output lists System perpheral deivece's pci address too,
like PCI Bridge, which are not much operable by end user. Hence
skipping them while parsing the pci adress to the user.
these deivce looks like as follows
*XXX:XX:XX.X System peripheral: PLX Technology, Inc. Device 87d0
example:
root@ltc-briggs3:~# lspci -D | grep -i peripheral
0001:01:00.1 System peripheral: PLX Technology, Inc. Device 87d0
0001:01:00.2 System peripheral: PLX Technology, Inc. Device 87d0
0001:01:00.3 System peripheral: PLX Technology, Inc. Device 87d0
0001:01:00.4 System peripheral: PLX Technology, Inc. Device 87d0
root@ltc-briggs3:~#
Signed-off-by: NNaresh Bannoth <nbannoth@in.ibm.com>
Showing
想要评论请 注册 或 登录