Author: stepan
Date: 2008-07-19 16:07:35 +0200 (Sat, 19 Jul 2008)
New Revision: 3428
Modified:
trunk/util/superiotool/smsc.c
Log:
add support for 2 new SMSC superio chips. Information is a bit ambiguous
and scattered within the datasheets. (trivial patch)
Signed-off-by: Stefan Reinauer <stepan(a)coresystems.de>
Acked-by: Stefan Reinauer <stepan(a)coresystems.de>
Modified: trunk/util/superiotool/smsc.c
===================================================================
--- trunk/util/superiotool/smsc.c 2008-07-18 14:08:18 UTC (rev 3427)
+++ trunk/util/superiotool/smsc.c 2008-07-19 14:07:35 UTC (rev 3428)
@@ -32,8 +32,80 @@
/* FIXME: There's another 0x03 but found on port 0x0d/0x0e! */
{EOT}}},
{0x0a, "FDC37N971", {
+ {NOLDN, NULL,
+ {0x02,0x07,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
+ 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
+ {0x00,0x00,0x0a,0x00,0x00,0x00,0x04,0x04,NANA,NANA,
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
+ {0x0, "Floppy",
+ {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf3,0xf4,
+ 0xf5,EOT},
+ {0x00,0x03,0xf0,0x06,0x02,0x0e,0x00,0xff,RSVD,0x00,
+ 0x00,EOT}},
+ {0x1, "Power Management (PM1)",
+ {0x30,0x60,0x61,EOT},
+ {0x00,0x00,0x00,EOT}},
+ {0x3, "Parallel port",
+ {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,EOT},
+ {0x00,0x00,0x00,0x00,0x04,0x3c,0x00,EOT}},
+ {0x4, "COM1",
+ {0x30,0x60,0x61,0x70,0xf0,EOT},
+ {0x00,0x00,0x00,0x00,0x00,EOT}},
+ {0x5, "COM2",
+ {0x30,0x60,0x61,0x62,0x63,0x70,0x74,0xf0,0xf1,
+ 0xf2,0xf7,0xf8,EOT},
+ {0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x02,
+ 0x03,0x00,0x00,EOT}},
+ {0x6, "Real-time clock (RTC)",
+ {0x30,0x60,0x61,0x62,0x63,0x70,0xf0,0xf1,EOT},
+ {0x00,0x00,0x70,0x00,0x74,0x00,0x00,NANA,EOT}},
+ {0x7, "Keyboard",
+ {0x30,0x60,0x61,0x70,0x72,0xf0,EOT},
+ {0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
+ {0x8, "Embedded Controller (EC)",
+ {0x30,0x60,0x61,EOT},
+ {0x00,0x00,0x62,EOT}},
+ {0x9, "Mailbox",
+ {0x30,0x60,0x61,EOT},
+ {0x00,0x00,0x00,EOT}},
{EOT}}},
{0x0b, "FDC37N972", {
+ {NOLDN, NULL,
+ {0x02,0x07,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
+ 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
+ {0x00,0x00,0x0b,0x00,0x00,0x00,0x04,0x04,NANA,NANA,
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
+ {0x0, "Floppy",
+ {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf3,0xf4,
+ 0xf5,EOT},
+ {0x00,0x03,0xf0,0x06,0x02,0x0e,0x00,0xff,RSVD,0x00,
+ 0x00,EOT}},
+ {0x1, "Power Management (PM1)",
+ {0x30,0x60,0x61,EOT},
+ {0x00,0x00,0x00,EOT}},
+ {0x3, "Parallel port",
+ {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,EOT},
+ {0x00,0x00,0x00,0x00,0x04,0x3c,0x00,EOT}},
+ {0x4, "COM1",
+ {0x30,0x60,0x61,0x70,0xf0,EOT},
+ {0x00,0x00,0x00,0x00,0x00,EOT}},
+ {0x5, "COM2",
+ {0x30,0x60,0x61,0x62,0x63,0x70,0x74,0xf0,0xf1,
+ 0xf2,0xf7,0xf8,EOT},
+ {0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x02,
+ 0x03,0x00,0x00,EOT}},
+ {0x6, "Real-time clock (RTC)",
+ {0x30,0x60,0x61,0x62,0x63,0x70,0xf0,0xf1,EOT},
+ {0x00,0x00,0x70,0x00,0x74,0x00,0x00,NANA,EOT}},
+ {0x7, "Keyboard",
+ {0x30,0x60,0x61,0x70,0x72,0xf0,EOT},
+ {0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
+ {0x8, "Embedded Controller (EC)",
+ {0x30,0x60,0x61,EOT},
+ {0x00,0x00,0x62,EOT}},
+ {0x9, "Mailbox",
+ {0x30,0x60,0x61,EOT},
+ {0x00,0x00,0x00,EOT}},
{EOT}}},
{0x0e, "LPC47N252", { /* From sensors-detect */
{EOT}}},