Package: pciutils
Version: 2.1.11-15.3

The output of "lspci" and "lspci -m" in the Debian package differs from the 
output format used by the upstream version:

# Debian package V 2.1.11-15.3
######################

$ lspci
[...]
0000:05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 
Gigabit Ethernet (rev 03)

$ lspci -m
[...]
05:02.0 Ethernet controller Broadcom Corporation NetXtreme BCM5782 Gigabit 
Ethernet 03 00 Hewlett-Packard Company HP d530 CMT (DG746A)

# Upstream version pciutils-2.1.11
#######################

$ lspci
[...]
05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit 
Ethernet (rev 03)

$ lspci -m
[...]
05:02.0 "Ethernet controller" "Broadcom Corporation" "NetXtreme BCM5782 Gigabit 
Ethernet" -r03 "Hewlett-Packard Company" "12bc"


Note the different format for the device ID (with an extra leading "0000:")
in the Debian output and the missing quotes in the "-m" output.

This can break scripts that parse the output of lspci, such as the "scanModem"
script from
http://linmodems.technion.ac.il/#scanmodem

Ideally, the output format of lspci should not be changed from the upstream
version. If this is unavoidable, this change should at least be clearly 
documented, in the manpage, in the README.Debian and in the output of
lspci -h




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to