coreboot-kgpe-d16/util/superiotool
Uwe Hermann 8b8d03974e * Convert the NSC code to the common code structure all other Super I/Os use.
* Improve the --verbose output a bit more. Print the "Probing..." text for
   all Super I/Os and if a Super I/O is not known, show the data we were
   able to read from the chip (what data this is is very vendor/chip specific).

 * Thus the common no_superio_found() is dropped, it's not useful.
   The "read from 0x20" part was wrong for all Super I/Os other than the
   NSC ones anyway.

 * Winbond: For the 'olddevid' only use bits 3..0, mask away the others.

 * SMSC: Print which ID registers we try to read (in --verbose mode).

 * Minor cosmetic fixes.
   * Rename PC8374 to PC8374L (as per datasheet).
   * Rename probe_idregs_simple() to probe_idregs_nsc().
   * Rename dump_readable_ns8374() to dump_readable_pc8374l().

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2821 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-10-04 15:23:38 +00:00
..
COPYING Add a copy of the GPL (trivial). 2007-10-03 18:56:51 +00:00
Makefile Random minor fixes. Use svn revision as superiotool version number. 2007-09-28 15:45:43 +00:00
README De-uglify the --version output (trivial). 2007-10-01 13:39:02 +00:00
ali.c * Convert the NSC code to the common code structure all other Super I/Os use. 2007-10-04 15:23:38 +00:00
fintek.c * Convert the NSC code to the common code structure all other Super I/Os use. 2007-10-04 15:23:38 +00:00
ite.c * Convert the NSC code to the common code structure all other Super I/Os use. 2007-10-04 15:23:38 +00:00
nsc.c * Convert the NSC code to the common code structure all other Super I/Os use. 2007-10-04 15:23:38 +00:00
smsc.c * Convert the NSC code to the common code structure all other Super I/Os use. 2007-10-04 15:23:38 +00:00
superiotool.c * Convert the NSC code to the common code structure all other Super I/Os use. 2007-10-04 15:23:38 +00:00
superiotool.h * Convert the NSC code to the common code structure all other Super I/Os use. 2007-10-04 15:23:38 +00:00
winbond.c * Convert the NSC code to the common code structure all other Super I/Os use. 2007-10-04 15:23:38 +00:00

README

-------------------------------------------------------------------------------
Superiotool README
-------------------------------------------------------------------------------

Superiotool is a user-space utility which can

 - detect which Super I/O chip is soldered onto your mainboard,

 - at which configuration port it's located (usually 0x2e or 0x4e), and

 - dump all register contents of the Super I/O chip, together with the
   default values as per datasheet (to make comparing the values easy).

It is mainly used for LinuxBIOS development purposes (see linuxbios.org
for details on LinuxBIOS), but it may also be useful for other things.


Installation
------------

 $ svn co svn://linuxbios.org/repos/trunk/util/superiotool

 $ make

 $ sudo make install


Usage
-----

 $ superiotool [-d] [-D] [-V] [-v] [-h]

 -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, revision, and config port.

Typical usage of superiotool:

 - Probe/detect the Super I/O in your mainboard:

   $ superiotool

 - 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
-------------------------

Please see http://linuxbios.org/Superiotool#Supported_devices.


Website and Mailing List
------------------------

The main website is http://linuxbios.org/Superiotool.

For additional information, patches, and discussions, please join the
LinuxBIOS mailing list at http://linuxbios.org/Mailinglist, where most
superiotool developers are subscribed.


Copyright and License
---------------------

Superiotool is copyrighted by a number of individual developers. Please
refer to the respective source code files for details.

It is licensed under the terms of the GNU General Public License (GPL),
either version 2 of the License, or (at your option) any later version.