Author: uwe
Date: 2009-06-26 17:25:04 +0200 (Fri, 26 Jun 2009)
New Revision: 4373
Modified:
trunk/util/superiotool/nsc.c
trunk/util/superiotool/smsc.c
trunk/util/superiotool/winbond.c
Log:
This adds register definitions for all logical devices on the SMSC
LPC47U33x, allowing 'superiotool -d' to work.
Also, some consistency string fixes.
Signed-off-by: Michael Gold <mgold(a)ncf.ca>
Acked-by: Uwe Hermann <uwe(a)hermann-uwe.de>
Modified: trunk/util/superiotool/nsc.c
===================================================================
--- trunk/util/superiotool/nsc.c 2009-06-26 15:16:21 UTC (rev 4372)
+++ trunk/util/superiotool/nsc.c 2009-06-26 15:25:04 UTC (rev 4373)
@@ -498,7 +498,7 @@
0xf1,0xf2,0xf3,0xf6,0xf7,EOT},
{0x00,0x00,0x70,0x00,0x72,0x08,0x00,0x04,0x04,0x00,
0x00,0x00,0x00,MISC,0x00,EOT}},
- {0x14, "Health Monitoring and Control (HMC)",
+ {0x14, "Health monitoring and control (HMC)",
{0x30,0x50,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,
0xf0,EOT},
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x04,
Modified: trunk/util/superiotool/smsc.c
===================================================================
--- trunk/util/superiotool/smsc.c 2009-06-26 15:16:21 UTC (rev 4372)
+++ trunk/util/superiotool/smsc.c 2009-06-26 15:25:04 UTC (rev 4373)
@@ -43,7 +43,7 @@
0xf5,EOT},
{0x00,0x03,0xf0,0x06,0x02,0x0e,0x00,0xff,RSVD,0x00,
0x00,EOT}},
- {0x1, "Power Management (PM1)",
+ {0x1, "Power management (PM1)",
{0x30,0x60,0x61,EOT},
{0x00,0x00,0x00,EOT}},
{0x3, "Parallel port",
@@ -63,7 +63,7 @@
{0x7, "Keyboard",
{0x30,0x60,0x61,0x70,0x72,0xf0,EOT},
{0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
- {0x8, "Embedded Controller (EC)",
+ {0x8, "Embedded controller (EC)",
{0x30,0x60,0x61,EOT},
{0x00,0x00,0x62,EOT}},
{0x9, "Mailbox",
@@ -81,7 +81,7 @@
0xf5,EOT},
{0x00,0x03,0xf0,0x06,0x02,0x0e,0x00,0xff,RSVD,0x00,
0x00,EOT}},
- {0x1, "Power Management (PM1)",
+ {0x1, "Power management (PM1)",
{0x30,0x60,0x61,EOT},
{0x00,0x00,0x00,EOT}},
{0x3, "Parallel port",
@@ -101,7 +101,7 @@
{0x7, "Keyboard",
{0x30,0x60,0x61,0x70,0x72,0xf0,EOT},
{0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
- {0x8, "Embedded Controller (EC)",
+ {0x8, "Embedded controller (EC)",
{0x30,0x60,0x61,EOT},
{0x00,0x00,0x62,EOT}},
{0x9, "Mailbox",
@@ -347,6 +347,37 @@
{0x52, "LPC47B37x", {
{EOT}}},
{0x54, "LPC47U33x", {
+ {NOLDN, NULL,
+ {0x03,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x2a,0x2b,
+ 0x2c,0x2d,0x2e,0x2f,EOT},
+ {RSVD,0x54,NANA,0x00,0x00,0x04,MISC,MISC,NANA,NANA,
+ NANA,NANA,NANA,NANA,EOT}},
+ {0x0, "Floppy",
+ {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,0xf5,
+ EOT},
+ {0x00,0x03,0xf0,0x06,0x02,0x0e,0x00,0xff,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, "MIDI port (MPU-401)",
+ {0x30,0x60,0x61,0x70,EOT},
+ {0x00,0x03,0x30,0x05,EOT}},
+ {0x7, "Keyboard",
+ {0x30,0x70,0x72,0xf0,EOT},
+ {0x00,0x00,0x00,0x00,EOT}},
+ {0x9, "Game port",
+ {0x30,0x60,0x61,EOT},
+ {0x00,0x00,0x00,EOT}},
+ {0xa, "Runtime registers",
+ {0x30,0x60,0x61,0xf0,0xf1,EOT},
+ {0x00,0x00,0x00,NANA,NANA,EOT}},
+ {0xb, "SMBus",
+ {0x30,0x60,0x61,0x70,EOT},
+ {0x00,0x00,0x00,0x00,EOT}},
{EOT}}},
{0x56, "LPC47B34x", {
{EOT}}},
@@ -380,7 +411,7 @@
{0x9, "Game port",
{0x30,0x60,0x61,EOT},
{0x00,0x00,0x00,EOT}},
- {0xa, "Power Management Events (PME)",
+ {0xa, "Power management events (PME)",
{0x30,0x60,0x61,0xf0,0xf1,EOT},
{0x00,0x00,0x00,NANA,RSVD,EOT}},
{0xb, "MPU-401",
@@ -417,7 +448,7 @@
{0x9, "Game port",
{0x30,0x60,0x61,EOT},
{0x00,0x00,0x00,EOT}},
- {0xa, "Power Management Events (PME)",
+ {0xa, "Power management events (PME)",
{0x30,0x60,0x61,0xf0,EOT},
{0x00,0x00,0x00,NANA,EOT}},
{0xb, "MPU-401",
@@ -457,7 +488,7 @@
{0x3, "COM1",
{0x30,0x60,0x61,0x70,0xf0,EOT},
{0x00,0x00,0x00,0x00,0x00,EOT}},
- {0x4, "Power Control",
+ {0x4, "Power control",
{0x30,0x60,0x61,0x70,0xf0,0xf1,EOT},
{0x00,0x00,0x00,0x00,NANA,0x00,EOT}},
{0x5, "Mouse",
Modified: trunk/util/superiotool/winbond.c
===================================================================
--- trunk/util/superiotool/winbond.c 2009-06-26 15:16:21 UTC (rev 4372)
+++ trunk/util/superiotool/winbond.c 2009-06-26 15:25:04 UTC (rev 4373)
@@ -324,7 +324,7 @@
{0x7, "Game port, MIDI port, GPIO 1",
{0x30,0x60,0x61,0x62,0x63,0x70,0xf0,0xf1,0xf2,EOT},
{0x00,0x02,0x01,0x03,0x30,0x09,0xff,0x00,0x00,EOT}},
- {0x8, "GPIO 2, Watchdog timer",
+ {0x8, "GPIO 2, watchdog timer",
{0x30,0xf0,0xf1,0xf2,0xf3,0xf5,0xf6,0xf6,0xf7,EOT},
{0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
{0x9, "GPIO 3",