summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Jordan <jordan@chalmers.se>2007-12-08 00:17:19 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-12-08 00:17:19 +0000
commit94a84dee9eba9dd3e8204a8cc59e8036bb7708f8 (patch)
treedb48962908c192a3fd284df8fbba16e8cdf65000
parent11887f258da9ad90515c69fb82fce0046dac7e1c (diff)
downloadcoreboot-94a84dee9eba9dd3e8204a8cc59e8036bb7708f8.tar.xz
Add detection and dump support for NSC PC87309.
Signed-off-by: Ulf Jordan <jordan@chalmers.se> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3001 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--util/superiotool/nsc.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/util/superiotool/nsc.c b/util/superiotool/nsc.c
index e615fafb3c..6226a5b825 100644
--- a/util/superiotool/nsc.c
+++ b/util/superiotool/nsc.c
@@ -29,6 +29,36 @@ static const struct superio_registers reg_table[] = {
{EOT}}},
{0xdf, "PC97317", {
{EOT}}},
+ {0xe0, "PC87309", {
+ {NOLDN, NULL,
+ {0x20,0x21,0x22,0x27,0x2e,EOT},
+ {0xe0,MISC,0x00,NANA,RSVD,EOT}},
+ {0x0, "Floppy",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,
+ EOT},
+ {MISC,0x00,0x03,0xf2,0x06,0x03,0x02,0x04,0x20,0x00,
+ EOT}},
+ {0x1, "Parallel port",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+ {0x00,0x00,0x02,0x78,0x07,0x00,0x04,0x04,0xf2,EOT}},
+ {0x2, "COM2 / IR",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+ {0x00,0x00,0x02,0xf8,0x03,0x03,0x04,0x04,0x02,EOT}},
+ {0x3, "COM1",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+ {0x00,0x00,0x03,0xf8,0x04,0x03,0x04,0x04,0x02,EOT}},
+ {0x4, "Power management",
+ {0x30,0x31,0x60,0x61,0x74,0x75,EOT},
+ {0x00,0x00,0x00,0x00,0x04,0x04,EOT}},
+ {0x5, "Mouse",
+ {0x30,0x70,0x71,0x74,0x75,EOT},
+ {0x00,0x0c,0x02,0x04,0x04,EOT}},
+ {0x6, "Keyboard",
+ {0x30,0x31,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,
+ 0xf0,EOT},
+ {0x01,0x00,0x00,0x60,0x00,0x64,0x01,0x02,0x04,0x04,
+ 0x40,EOT}},
+ {EOT}}},
{0xe1, "PC87360", {
{NOLDN, NULL,
{0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x2a,