Add -D / --dump-readable option which prints the Super I/O register

contents in human-readable form (e.g. "COM1 enabled" etc.) instead
of the hex-table format from -d / --dump.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2795 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2007-09-20 23:57:44 +00:00
parent b4db2209f9
commit eddc473ce0
8 changed files with 52 additions and 36 deletions

View File

@@ -28,12 +28,13 @@ Installation
Usage
-----
$ superiotool [-d] [-V] [-v] [-h]
$ superiotool [-d] [-D] [-V] [-v] [-h]
-d | --dump Dump Super I/O registers
-V | --verbose Verbose mode
-v | --version Show the superiotool version
-h | --help Show a short help text
-d | --dump Dump Super I/O registers
-D | --dump-readable Dump Super I/O registers in human-readable format
-V | --verbose Verbose mode
-v | --version Show the superiotool version
-h | --help Show a short help text
Per default (no options) superiotool will just probe for a Super I/O
and print its vendor, name, ID, version, and config port.
@@ -44,10 +45,14 @@ Typical usage of superiotool:
$ superiotool
- Detailed register dump of the Super I/O (if detected):
- Register dump as table of hex-values of the Super I/O (if detected):
$ superiotool -d
- Detailed register dump in human-readable format:
$ superiotool -D
Supported Super I/O Chips
-------------------------