1 --- diag-ether/pci-config.c.org 2004-02-22 22:13:59.000000000 +0000
2 +++ diag-ether/pci-config.c 2004-02-22 22:15:14.000000000 +0000
4 static char *usage_msg =
5 "Usage: pci-config [-aDfSvVW] [-# <device_index>]\n";
7 -static char *long_usage_msg ="
9 - This program shows the contents of PCI configuration space.
10 - It reads the hardware registers, and thus must be run as 'root'.
12 - Running this program with no options shows the installed PCI devices.
13 - Each line is prefixed by its index which may be used with -#<index>
14 - e.g. \"pci-config -#3\" to specify the device to operate on.
16 - Commonly use options are
17 - -# <device-index> Operate only on DEVICE-INDEX e.g -#3
19 - The operations on the selected device are
20 - -a --show-addresses Show PCI address registers.
21 - -S --sleep Put device to sleep (ACPI D3 state)
22 - -W --wake Wake a sleeping device (ACPI D0 state)
24 - Less commonly used options are
25 - -B <bus> --bus <bus> Show only devices on BUS.
26 - -A <addr> --set-addresses Set PCI address register 1 to the ADDR.
27 - -D --debug Show details of operations
28 - -f --force Override checks and perform the operation
29 - -u --usage Show this long usage message
30 - -v --verbose Verbose mode
31 - -V --version Display this program's version information
34 +static char *long_usage_msg =
36 +" This program shows the contents of PCI configuration space.\n"
37 +" It reads the hardware registers, and thus must be run as 'root'.\n"
39 +" Running this program with no options shows the installed PCI devices.\n"
40 +" Each line is prefixed by its index which may be used with -#<index>\n"
41 +" e.g. \"pci-config -#3\" to specify the device to operate on.\n"
43 +" Commonly use options are\n"
44 +" -# <device-index> Operate only on DEVICE-INDEX e.g -#3\n"
46 +" The operations on the selected device are\n"
47 +" -a --show-addresses Show PCI address registers.\n"
48 +" -S --sleep Put device to sleep (ACPI D3 state)\n"
49 +" -W --wake Wake a sleeping device (ACPI D0 state)\n"
51 +" Less commonly used options are\n"
52 +" -B <bus> --bus <bus> Show only devices on BUS.\n"
53 +" -A <addr> --set-addresses Set PCI address register 1 to the ADDR.\n"
54 +" -D --debug Show details of operations\n"
55 +" -f --force Override checks and perform the operation\n"
56 +" -u --usage Show this long usage message\n"
57 +" -v --verbose Verbose mode\n"
58 +" -V --version Display this program's version information\n"