[LinuxBIOS] [PATCH] superiotool: Add dump support for NSC PC87360

Ulf Jordan jordan at chalmers.se
Tue Nov 13 15:50:32 CET 2007


Add dump support for the PC87360.

Patch was tested under the proprietary BIOS on an Arima HDAMA board, see 
output in superiotool-dump.txt.

/ulf
-------------- next part --------------
Add dump support for NSC PC87360.

Signed-off-by: Ulf Jordan <jordan at chalmers.se>

Index: nsc.c
===================================================================
--- nsc.c	(revision 2960)
+++ nsc.c	(working copy)
@@ -30,6 +30,48 @@
 	{0xdf, "PC97371", {	/* From sensors-detect */
 		{EOT}}},
 	{0xe1, "PC87360", {
+		{NOLDN, NULL,
+			{0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x2a,
+			 0x2b,0x2c,0x2d,0x2e,EOT},
+			{0xe1,0x11,0x00,0x03,0x00,0x00,0x00,NANA,0x00,MISC,
+			 0x00,0x00,0x00,RSVD,EOT}},
+		{0x0, "Floppy",
+			{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,EOT},
+			{0x00,0x03,0xf2,0x06,0x03,0x02,0x04,0x24,0x00,EOT}},
+		{0x1, "Parallel port",
+			{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+			{0x00,0x02,0x78,0x07,0x02,0x04,0x04,0xf2,EOT}},
+		{0x2, "COM2",
+			{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+			{0x00,0x02,0xf8,0x03,0x03,0x04,0x04,0x02,EOT}},
+		{0x3, "COM1",
+			{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+			{0x00,0x03,0xf8,0x04,0x03,0x04,0x04,0x02,EOT}},
+		{0x4, "System wake-up control (SWC)",
+			{0x30,0x60,0x61,0x70,0x71,0x74,0x75,EOT},
+			{0x00,0x00,0x00,0x00,0x03,0x04,0x04,EOT}},
+		{0x5, "Mouse",
+			{0x30,0x70,0x71,0x74,0x75,EOT},
+			{0x00,0x0c,0x02,0x04,0x04,EOT}},
+		{0x6, "Keyboard",
+			{0x30,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,0xf0,
+			 EOT},
+			{0x01,0x00,0x60,0x00,0x64,0x01,0x02,0x04,0x04,0x40,
+			 EOT}},
+		{0x7, "GPIO",
+			{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,0xf2,
+			 EOT},
+			{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,0x00,0x00,
+			 EOT}},
+		{0x8, "ACCESS.bus",
+			{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+			{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,EOT}},
+		{0x9, "Fan speed control and monitor",
+			{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+			{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,EOT}},
+		{0xa, "Watchdog timer",
+			{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+			{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x02,EOT}},
 		{EOT}}},
 	{0xe2, "PC87351", {
 		{NOLDN, NULL,
-------------- next part --------------
superiotool r2957
Found NSC PC87360 (sid=0xe1, srid=0x0f) at 0x2e
Register dump:
idx 20 21 22 23 24 25 26 27  28 2a 2b 2c 2d 2e
val e1 11 00 03 05 00 00 0f  00 00 10 00 18 00
def e1 11 00 03 00 00 00 NA  00 MM 00 00 00 RR
LDN 0x00 (Floppy)
idx 30 60 61 70 71 74 75 f0  f1
val 01 03 f0 06 03 02 04 20  00
def 00 03 f2 06 03 02 04 24  00
LDN 0x01 (Parallel port)
idx 30 60 61 70 71 74 75 f0
val 01 03 78 07 02 04 04 f2
def 00 02 78 07 02 04 04 f2
LDN 0x02 (COM2)
idx 30 60 61 70 71 74 75 f0
val 01 02 f8 03 03 04 04 02
def 00 02 f8 03 03 04 04 02
LDN 0x03 (COM1)
idx 30 60 61 70 71 74 75 f0
val 01 03 f8 04 03 04 04 02
def 00 03 f8 04 03 04 04 02
LDN 0x04 (System wake-up control (SWC))
idx 30 60 61 70 71 74 75
val 00 00 00 00 03 04 04
def 00 00 00 00 03 04 04
LDN 0x05 (Mouse)
idx 30 70 71 74 75
val 01 0c 03 04 04
def 00 0c 02 04 04
LDN 0x06 (Keyboard)
idx 30 60 61 62 63 70 71 74  75 f0
val 01 00 60 00 64 01 03 04  04 40
def 01 00 60 00 64 01 02 04  04 40
LDN 0x07 (GPIO)
idx 30 60 61 70 71 74 75 f0  f1 f2
val 00 00 00 00 03 04 04 00  44 01
def 00 00 00 00 03 04 04 00  00 00
LDN 0x08 (ACCESS.bus)
idx 30 60 61 70 71 74 75 f0
val 00 00 00 00 03 04 04 00
def 00 00 00 00 03 04 04 00
LDN 0x09 (Fan speed control and monitor)
idx 30 60 61 70 71 74 75 f0
val 00 00 00 00 03 04 04 00
def 00 00 00 00 03 04 04 00
LDN 0x0a (Watchdog timer)
idx 30 60 61 70 71 74 75 f0
val 00 00 00 00 03 04 04 02
def 00 00 00 00 03 04 04 02


More information about the coreboot mailing list