Don't split up register list in two blocks, otherwise "Register dump:"
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 8 May 2008 13:50:23 +0000 (13:50 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 8 May 2008 13:50:23 +0000 (13:50 +0000)
will be printed twice in the output (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3292 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/superiotool/ite.c
util/superiotool/superiotool.h

index 44ec64c8a10b25b85153f033d3c171c0cefff40a..addd1f0768299d3200c5b113fbe0820e7d88b451 100644 (file)
@@ -332,20 +332,19 @@ static const struct superio_registers ec_table[] = {
                         0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,
                         0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,0x40,0x41,0x42,0x43,
                         0x44,0x45,0x48,0x50,0x51,0x52,0x53,0x54,0x56,0x57,
-                        0x59,0x5c,EOT},
+                        0x59,0x5c,
+                        0x5d,0x5e,0x5f,0x60,0x61,0x62,0x63,0x64,0x65,0x68,
+                        0x69,0x6a,0x6b,0x6c,0x6d,0x70,0x71,0x72,0x73,0x74,
+                        0x75,0x84,0x85,0x86,0x87,0x88,0x89,0x8c,0x8d,0x8e,
+                        0x8f,0x90,0x91,0x92,0x93,0x94,0x95,0x98,0x99,0x9a,
+                        0x9b,0x9c,0x9d,EOT},
                        {0x18,0x00,0x00,0x00,0x00,0x00,0x80,0x09,0x00,NANA,
                         NANA,NANA,0x07,0x50,NANA,NANA,NANA,NANA,NANA,NANA,
                         NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,
                         NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,
                         NANA,NANA,RSVD,0x00,0x00,0x7f,0x7f,0x7f,0x00,0x00,
-                        0x00,0x00,EOT}},
-               {NOLDN, NULL,
-                       {0x5d,0x5e,0x5f,0x60,0x61,0x62,0x63,0x64,0x65,0x68,
-                        0x69,0x6a,0x6b,0x6c,0x6d,0x70,0x71,0x72,0x73,0x74,
-                        0x75,0x84,0x85,0x86,0x87,0x88,0x89,0x8c,0x8d,0x8e,
-                        0x8f,0x90,0x91,0x92,0x93,0x94,0x95,0x98,0x99,0x9a,
-                        0x9b,0x9c,0x9d,EOT},
-                       {0x00,0x00,0x00,0x7f,0x7f,0x7f,0x00,0x00,0x7f,0x7f,
+                        0x00,0x00,
+                        0x00,0x00,0x00,0x7f,0x7f,0x7f,0x00,0x00,0x7f,0x7f,
                         0x7f,0x7f,0x00,0x00,0x7f,0x7f,0x7f,0x7f,0x00,0x00,
                         0x7f,NANA,NANA,NANA,NANA,0x00,0x00,0x02,0x00,0x99,
                         0x99,0x7f,0x7f,0x7f,0x00,0x00,0x7f,0x7f,0x7f,0x7f,
index bbab1fb67f35079338fc975987ff69b45ecf158f..6f15aae2c49267a07e43a0cd26ba36b77c1323db 100644 (file)
@@ -53,7 +53,7 @@ and print its vendor, name, ID, revision, and config port.\n"
 #define MISC           -5              /* Needs special comment in output */
 #define MAXLDN         0x10            /* Biggest LDN */
 #define LDNSIZE                (MAXLDN + 3)    /* Biggest LDN + 0 + NOLDN + EOT */
-#define MAXNUMIDX      70              /* Maximum number of indexes */
+#define MAXNUMIDX      170             /* Maximum number of indexes */
 #define IDXSIZE        (MAXNUMIDX + 1)
 #define MAXNUMPORTS    (6 + 1)         /* Maximum number of Super I/O ports */