Author: uwe
Date: 2007-10-05 15:47:04 +0200 (Fri, 05 Oct 2007)
New Revision: 2825
Modified:
trunk/util/superiotool/ite.c
Log:
Add dump support for the ITE IT8661F. Note that this chip will not yet
be detected, as it needs a non-standard init sequence.
Minor other fix: Drop incorrect 0x2b from LDN 5 of the ITE IT8705F.
Signed-off-by: Robinson P. Tryon <bishop.robinson(a)gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006(a)gmx.net>
Acked-by: Uwe Hermann <uwe(a)hermann-uwe.de>
Modified: trunk/util/superiotool/ite.c
===================================================================
--- trunk/util/superiotool/ite.c 2007-10-04 18:34:36 UTC (rev 2824)
+++ trunk/util/superiotool/ite.c 2007-10-05 13:47:04 UTC (rev 2825)
@@ -28,6 +28,40 @@
/* Note: IT8726F has ID 0x8726 (datasheet wrongly says 0x8716). */
const static struct superio_registers reg_table[] = {
+ {0x8661, "IT8661F", {
+ /* TODO: Needs different init sequence. */
+ {NOLDN, NULL,
+ {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x20,0x21,
+ 0x22,0x23,0x24,EOT},
+ {NANA,NANA,NANA,NANA,NANA,NANA,0x00,NANA,0x86,0x61,
+ 0x00,0x00,0x00,EOT}},
+ {0x0, "Floppy",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0xf0,EOT},
+ {0x00,0x00,0x03,0xf0,0x06,0x02,0x02,0x00,EOT}},
+ {0x1, "COM1",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0xf0,EOT},
+ {0x00,0x00,0x03,0xf8,0x04,0x02,0x00,EOT}},
+ {0x2, "COM2",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0xf0,EOT},
+ {0x00,0x00,0x02,0xf8,0x03,0x02,0x00,EOT}},
+ {0x3, "Parallel port",
+ {0x30,0x31,0x60,0x61,0x62,0x63,0x70,0x71,0x74,
+ 0xf0,EOT},
+ {0x00,0x00,0x03,0x78,0x07,0x78,0x07,0x02,0x03,
+ 0x03,EOT}},
+ {0x4, "IR",
+ {0x30,0x31,0x60,0x61,0x62,0x63,0x70,0x71,0x72,0x73,
+ 0x74,0x75,0xf0,EOT},
+ {0x00,0x00,0x02,0xe8,0x03,0x00,0x0a,0x02,0x0b,0x02,
+ 0x01,0x00,0x00,EOT}},
+ {0x5, "GPIO",
+ {0x25,0x26,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
+ 0x70,0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,
+ 0xf9,0xfa,0xfb,0xfc,EOT},
+ {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+ 0x00,0x00,0x00,0x00,EOT}},
+ {EOT}}},
{0x8702, "IT8702F", {
{EOT}}},
{0x8705, "IT8705F/AF or IT8700F", {
@@ -54,20 +88,20 @@
{0x00,0x00,0x02,0x90,0x02,0x30,0x09,0x00,0x00,0x00,
0x00,0x00,NANA,NANA,EOT}},
{0x5, "GPIO",
- {0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x60,0x61,0x62,
- 0x63,0x64,0x65,0x70,0x71,0x72,0xb0,0xb1,0xb2,0xb3,
- 0xb4,0xb5,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xc0,0xc1,
- 0xc2,0xc3,0xc4,0xc5,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,
- 0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd8,0xd9,0xda,
- 0xf0,0xf1,0xf2,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,
- 0xfc,0xfd,0xfe,0xff,EOT},
+ {0x25,0x26,0x27,0x28,0x29,0x2a,0x60,0x61,0x62,0x63,
+ 0x64,0x65,0x70,0x71,0x72,0xb0,0xb1,0xb2,0xb3,0xb4,
+ 0xb5,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xc0,0xc1,0xc2,
+ 0xc3,0xc4,0xc5,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xd0,
+ 0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd8,0xd9,0xda,0xf0,
+ 0xf1,0xf2,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,
+ 0xfd,0xfe,0xff,EOT},
{0x00,0x00,0x00,0xff,0xe0,0xff,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,NANA,0x00,EOT}},
+ 0x00,NANA,0x00,EOT}},
{0x6, "Game port",
{0x30,0x60,0x61,EOT},
{0x00,0x02,0x01,EOT}},