From effd7b59e3ef91e88df87e0ca34ad301a1331679 Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Sun, 31 Aug 2008 18:38:49 +0200 Subject: [PATCH] Subsystem is without a dash --- PciIds/Address/Pci.pm | 4 ++-- help/pci | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PciIds/Address/Pci.pm b/PciIds/Address/Pci.pm index bf53d7a..5c1c7f3 100644 --- a/PciIds/Address/Pci.pm +++ b/PciIds/Address/Pci.pm @@ -18,7 +18,7 @@ sub pretty( $ ) { s/([0-9a-f]{4})([0-9a-f]{4})/$1 $2/g; my $prefix = ''; if( /:.*:/ ) { - $prefix = 'Sub-system'; + $prefix = 'Subsystem'; } elsif( /:/ ) { $prefix = 'Device'; } else { @@ -67,7 +67,7 @@ sub helpName( $ ) { sub addressDeps( $ ) { my( $addr ) = ( shift->get() =~ /^PC\/....\/....\/(....)/ ); return [] unless defined $addr; - return [ [ PciIds::Address::new( "PC/$addr" ), "Sub-system vendor $addr does not exist" ] ]; + return [ [ PciIds::Address::new( "PC/$addr" ), "Subsystem vendor $addr does not exist" ] ]; } 1; diff --git a/help/pci b/help/pci index 5e13c36..214b462 100644 --- a/help/pci +++ b/help/pci @@ -10,7 +10,7 @@ They can be browsed here. Each vendor contains a list of its devices. Each device in the list has a 2-byte long id, stored the same way as vendor id (4 hexadecimal letters). -

Sub-systems

+

Subsystems

A device can consist of more sub-systems. Each sub-system has 4-byte long id, stored as 8 hexadecimal letters, split in the middle by a space (for example 1234 abcd could be a sub-system id). The first quad of digits is considered a vendor id (from the same list of vendors). The vendor of the sub-system can be different than vendor of the device. -- 2.39.2