1 --- diag-ether/rtl8139-diag.c.org 2003-12-03 15:53:00.000000000 +0000
2 +++ diag-ether/rtl8139-diag.c 2004-02-22 21:54:11.000000000 +0000
4 " For details and other options see http://www.scyld.com/diag/index.html\n";
6 static const char long_usage_msg[] =
7 -"Usage: %s [-aDfrRvVw] [-AF <speed+duplex>] [-#<BoardNum>]
9 - Show the internal state of a network adapter.
14 - Frequently used options are
15 - -a --show_all_registers Print all registers.
16 - -e --show-eeprom Dump EEPROM contents, \"-ee\" shows the details.
17 - -m --show_mii Print the MII transceiver state
18 - Using -mm monitors the link.
19 - -f --force Perform operation, even on a running NIC.
21 - To operate on a single NIC, or one that hasn't been automatically found:
22 - -# --card_num INDEX Operate on the specified card index.
23 - -p --port-base IOADDR Assume an adapter at the specified I/O address.
24 - -t --chip-type TYPE Specify adapter type with '-p', use '-1' to list.
26 - To change the persistent EEPROM settings
27 - -G --parameters PARMS Set adapter-specific parameters.
28 - -H --new-hwaddr 01:23:45:67:89:ab
29 - Set a new hardware station address. Typically disabled for safety.
30 - -w --write-EEPROM Actually write the new settings into the EEPROM.
31 - To read and write the boot BIOS extension Flash ROM
32 - -B Show the first few bytes of the ROM
33 - -L FILE Load the Flash from FILE.
34 - -S FILE Store the Flash image to FILE.
37 - -v --verbose Report each action taken.
38 - -V --version Emit version information.
40 - -A --advertise <speed|setting> (See the mii-diag manual page.)
42 +"Usage: %s [-aDfrRvVw] [-AF <speed+duplex>] [-#<BoardNum>]\n"
44 +" Show the internal state of a network adapter.\n"
46 +" The common usage is\n"
49 +" Frequently used options are\n"
50 +" -a --show_all_registers Print all registers.\n"
51 +" -e --show-eeprom Dump EEPROM contents, \"-ee\" shows the details.\n"
52 +" -m --show_mii Print the MII transceiver state\n"
53 +" Using -mm monitors the link.\n"
54 +" -f --force Perform operation, even on a running NIC.\n"
56 +" To operate on a single NIC, or one that hasn't been automatically found:\n"
57 +" -# --card_num INDEX Operate on the specified card index.\n"
58 +" -p --port-base IOADDR Assume an adapter at the specified I/O address.\n"
59 +" -t --chip-type TYPE Specify adapter type with '-p', use '-1' to list.\n"
61 +" To change the persistent EEPROM settings\n"
62 +" -G --parameters PARMS Set adapter-specific parameters.\n"
63 +" -H --new-hwaddr 01:23:45:67:89:ab\n"
64 +" Set a new hardware station address. Typically disabled for safety.\n"
65 +" -w --write-EEPROM Actually write the new settings into the EEPROM.\n"
66 +" To read and write the boot BIOS extension Flash ROM\n"
67 +" -B Show the first few bytes of the ROM\n"
68 +" -L FILE Load the Flash from FILE.\n"
69 +" -S FILE Store the Flash image to FILE.\n"
72 +" -v --verbose Report each action taken.\n"
73 +" -V --version Emit version information.\n"
75 +" -A --advertise <speed|setting> (See the mii-diag manual page.)\n"
78 #if ! defined(__OPTIMIZE__)
79 #warning You must compile this program with the correct options!