Drop global register 0x07 for all Super I/Os (trivial).
authorUwe Hermann <uwe@hermann-uwe.de>
Tue, 14 Oct 2008 16:34:38 +0000 (16:34 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Tue, 14 Oct 2008 16:34:38 +0000 (16:34 +0000)
This is useless, as it changes with each access; it doesn't convey any
useful information at all.

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@3658 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/superiotool/ali.c
util/superiotool/fintek.c
util/superiotool/ite.c
util/superiotool/smsc.c
util/superiotool/winbond.c

index 52144dde0187bb3b54c9edcd152830358ba34cf5..a23ffcc9fc07c9bf426d403792451c2d7b17001f 100644 (file)
@@ -29,8 +29,8 @@ static const struct superio_registers reg_table[] = {
        /* TODO: M5113 doesn't seem to have ID registers? */
        {0x5315, "M1535/M1535D/M1535+/M1535D+", {
                {NOLDN, NULL,
-                       {0x07,0x1f,0x20,0x21,0x22,0x23,0x2c,0x2d,0x2e,EOT},
-                       {NANA,NANA,0x53,0x15,0x00,0x00,RSVD,RSVD,RSVD,EOT}},
+                       {0x1f,0x20,0x21,0x22,0x23,0x2c,0x2d,0x2e,EOT},
+                       {NANA,0x53,0x15,0x00,0x00,RSVD,RSVD,RSVD,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,EOT},
                        {0x00,0x03,0xf0,0x06,0x02,0x08,0x00,0xff,0x00,EOT}},
index fc255e733b82a358840435ed2e67520bfba8a266..576b7bef64a94693c1a76ab997d420af5e56b15e 100644 (file)
@@ -81,10 +81,8 @@ static const struct superio_registers reg_table[] = {
        {0x0604, "F71805F/FG", {
                /* We assume reserved bits are read as 0. */
                {NOLDN, NULL,
-                       {0x07,0x20,0x21,0x23,0x24,0x25,0x26,0x27,0x28,
-                        0x29,EOT},
-                       {NANA,0x04,0x06,0x19,0x34,0x00,0x00,0x3f,0x08,
-                        0x00,EOT}},
+                       {0x20,0x21,0x23,0x24,0x25,0x26,0x27,0x28,0x29,EOT},
+                       {0x04,0x06,0x19,0x34,0x00,0x00,0x3f,0x08,0x00,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf2,0xf4,EOT},
                        {0x01,0x03,0xf0,0x06,0x02,0x0e,0x03,0x00,EOT}},
index 926b5ae056a0445f2bdfdb8cd602510ebe09b0ec..813ea9b2a566d2250c5a8f1a08609f5d97660ea4 100644 (file)
@@ -30,10 +30,10 @@ static const struct superio_registers reg_table[] = {
        {0x8661, "IT8661F", {
                /* TODO: Needs different init sequence. */
                {NOLDN, NULL,
-                       {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x20,0x21,
-                        0x22,0x23,0x24,EOT},
-                       {NANA,NANA,NANA,NANA,NANA,NANA,0x00,NANA,0x86,0x61,
-                        0x00,0x00,0x00,EOT}},
+                       {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x20,0x21,0x22,
+                        0x23,0x24,EOT},
+                       {NANA,NANA,NANA,NANA,NANA,NANA,0x00,0x86,0x61,0x00,
+                        0x00,0x00,EOT}},
                {0x0, "Floppy",
                        {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0xf0,EOT},
                        {0x00,0x00,0x03,0xf0,0x06,0x02,0x02,0x00,EOT}},
@@ -65,8 +65,8 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x8705, "IT8705F/AF / IT8700F", {
                {NOLDN, NULL,
-                       {0x07,0x20,0x21,0x22,0x23,0x24,EOT},
-                       {NANA,0x87,0x05,0x00,0x00,NANA,EOT}},
+                       {0x20,0x21,0x22,0x23,0x24,EOT},
+                       {0x87,0x05,0x00,0x00,NANA,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,EOT},
                        {0x00,0x03,0xf0,0x06,0x02,0x00,0x00,EOT}},
@@ -116,10 +116,10 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x8708, "IT8708F", {
                {NOLDN, NULL,
-                       {0x07,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,
-                        0x29,0x2a,0x2e,0x2f,EOT},
-                       {NANA,0x87,0x08,0x00,0x00,NANA,0x3f,0x00,0xff,0xff,
-                        0xff,0xff,0x00,0x00,EOT}},
+                       {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,
+                        0x2a,0x2e,0x2f,EOT},
+                       {0x87,0x08,0x00,0x00,NANA,0x3f,0x00,0xff,0xff,0xff,
+                        0xff,0x00,0x00,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,EOT},
                        {0x00,0x03,0xf0,0x06,0x02,0x00,0x00,EOT}},
@@ -173,8 +173,8 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x8712, "IT8712F", {
                {NOLDN, NULL,
-                       {0x07,0x20,0x21,0x22,0x23,0x24,0x2b,EOT},
-                       {NANA,0x87,0x12,0x08,0x00,0x00,0x00,EOT}},
+                       {0x20,0x21,0x22,0x23,0x24,0x2b,EOT},
+                       {0x87,0x12,0x08,0x00,0x00,0x00,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,EOT},
                        {0x00,0x03,0xf0,0x06,0x02,0x00,0x00,EOT}},
@@ -224,8 +224,8 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x8716, "IT8716F", {
                {NOLDN, NULL,
-                       {0x07,0x20,0x21,0x22,0x23,0x24,0x2b,EOT},
-                       {NANA,0x87,0x16,0x01,0x00,0x00,0x00,EOT}},
+                       {0x20,0x21,0x22,0x23,0x24,0x2b,EOT},
+                       {0x87,0x16,0x01,0x00,0x00,0x00,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,EOT},
                        {0x00,0x03,0xf0,0x06,0x02,0x00,0x00,EOT}},
@@ -274,8 +274,8 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x8718, "IT8718F", {
                {NOLDN, NULL,
-                       {0x07,0x20,0x21,0x22,0x23,0x24,0x2b,EOT},
-                       {NANA,0x87,0x18,0x01,0x00,0x00,0x00,EOT}},
+                       {0x20,0x21,0x22,0x23,0x24,0x2b,EOT},
+                       {0x87,0x18,0x01,0x00,0x00,0x00,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,EOT},
                        {0x00,0x03,0xf0,0x06,0x02,0x00,0x00,EOT}},
index 1d6e925c63191408ade4a3a4429a7cba7b166f8b..a45ee45a9972dc9f935af12c18efd66705f23a87 100644 (file)
@@ -34,10 +34,10 @@ static const struct superio_registers reg_table[] = {
                {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}},
+                       {0x02,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,
+                        0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
+                       {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},
@@ -72,10 +72,10 @@ static const struct superio_registers reg_table[] = {
                {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}},
+                       {0x02,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,
+                        0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
+                       {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},
@@ -151,10 +151,10 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x09, "FDC37N958FR", { /* Found in e.g. Dell Latitude CPi A366XT. */
                {NOLDN, NULL,
-                       {0x03,0x07,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,
-                        0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
-                       {0x03,NANA,0x44,0x00,0x00,0x00,0x04,MISC,MISC,0x00,
-                        NANA,NANA,NANA,NANA,NANA,EOT}},
+                       {0x03,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,0x2b,
+                        0x2c,0x2d,0x2e,0x2f,EOT},
+                       {0x03,0x44,0x00,0x00,0x00,0x04,MISC,MISC,0x00,NANA,
+                        NANA,NANA,NANA,NANA,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,0xf5,
                         EOT},
@@ -196,10 +196,10 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x44, "FDC37B78x", {
                {NOLDN, NULL,
-                       {0x03,0x07,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,
-                        0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
-                       {0x03,NANA,0x44,0x00,0x00,0x00,0x04,MISC,MISC,0x00,
-                        NANA,NANA,NANA,NANA,NANA,EOT}},
+                       {0x03,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,0x2b,
+                        0x2c,0x2d,0x2e,0x2f,EOT},
+                       {0x03,0x44,0x00,0x00,0x00,0x04,MISC,MISC,0x00,NANA,
+                        NANA,NANA,NANA,NANA,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,0xf5,
                         EOT},
@@ -241,10 +241,10 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x4c, "FDC37B72x", {
                {NOLDN, NULL,
-                       {0x03,0x07,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,
-                        0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
-                       {0x03,NANA,0x4c,0x00,0x00,0x00,0x04,MISC,MISC,0x00,
-                        NANA,NANA,NANA,NANA,NANA,EOT}},
+                       {0x03,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,0x2b,
+                        0x2c,0x2d,0x2e,0x2f,EOT},
+                       {0x03,0x4c,0x00,0x00,0x00,0x04,MISC,MISC,0x00,NANA,
+                        NANA,NANA,NANA,NANA,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,0xf5,
                         EOT},
@@ -279,10 +279,10 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x4d, "FDC37M81x", {
                {NOLDN, NULL,
-                       {0x03,0x07,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x2b,
-                        0x2c,0x2d,0x2e,0x2f,EOT},
-                       {0x03,0x00,0x4d,NANA,0x00,0x00,0x04,MISC,MISC,NANA,
-                        NANA,NANA,NANA,NANA,EOT}},
+                       {0x03,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x2b,0x2c,
+                        0x2d,0x2e,0x2f,EOT},
+                       {0x03,0x4d,NANA,0x00,0x00,0x04,MISC,MISC,NANA,NANA,
+                        NANA,NANA,NANA,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,
                         0xf5,EOT},
@@ -354,10 +354,10 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x59, "LPC47M10x/112/13x", {
                {NOLDN, NULL,
-                       {0x03,0x07,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,
-                        0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
-                       {RSVD,0x00,0x59,NANA,0x00,0x00,0x44,MISC,MISC,RSVD,
-                        NANA,NANA,NANA,NANA,NANA,NANA,EOT}},
+                       {0x03,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,0x2a,
+                        0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
+                       {RSVD,0x59,NANA,0x00,0x00,0x44,MISC,MISC,RSVD,NANA,
+                        NANA,NANA,NANA,NANA,NANA,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,
                         0xf5,EOT},
@@ -393,10 +393,10 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x60, "LPC47M15x/192/997", {
                {NOLDN, NULL,
-                       {0x03,0x07,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,
-                        0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
-                       {RSVD,0x00,0x60,NANA,0x00,0x00,0x44,MISC,MISC,RSVD,
-                        NANA,NANA,NANA,NANA,NANA,NANA,EOT}},
+                       {0x03,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,0x2a,
+                        0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
+                       {RSVD,0x60,NANA,0x00,0x00,0x44,MISC,MISC,RSVD,NANA,
+                        NANA,NANA,NANA,NANA,NANA,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,0xf5,
                         EOT},
@@ -443,10 +443,10 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x77, "A8000", {       /* ASUS A8000, a rebranded DME1737(?) */
                {NOLDN, NULL,
-                       {0x03,0x07,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,
-                        0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
-                       {RSVD,0x00,0x77,NANA,0x00,RSVD,0x44,MISC,MISC,RSVD,
-                        NANA,NANA,NANA,NANA,NANA,NANA,EOT}},
+                       {0x03,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,0x2a,
+                        0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
+                       {RSVD,0x77,NANA,0x00,RSVD,0x44,MISC,MISC,RSVD,NANA,
+                        NANA,NANA,NANA,NANA,NANA,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,
                         0xf5,EOT},
@@ -470,10 +470,10 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x78, "DME1737", {
                {NOLDN, NULL,
-                       {0x03,0x07,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,
-                        0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
-                       {RSVD,0x00,0x77,NANA,0x00,RSVD,0x44,MISC,MISC,RSVD,
-                        NANA,NANA,NANA,NANA,NANA,NANA,EOT}},
+                       {0x03,0x20,0x21,0x22,0x23,0x24,0x26,0x27,0x28,0x2a,
+                        0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
+                       {RSVD,0x77,NANA,0x00,RSVD,0x44,MISC,MISC,RSVD,NANA,
+                        NANA,NANA,NANA,NANA,NANA,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,
                         0xf5,EOT},
index 1b67e9c1a48e607e1fe8015964aa4bff7e097f70..ededd49cd65641c118826be096336b5d79a1d2e2 100644 (file)
@@ -45,9 +45,9 @@ static const struct superio_registers reg_table[] = {
                {EOT}}},
        {0x601, "W83697HF/F/HG", { /* No G version? */
                {NOLDN, NULL,
-                       {0x07,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x28,0x29,
+                       {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x28,0x29,
                         0x2a,EOT},
-                       {NANA,0x60,NANA,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
+                       {0x60,NANA,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
                         MISC,EOT}},
                /* Some register defaults depend on the value of PNPCSV. */
                {0x0, "Floppy",
@@ -259,10 +259,10 @@ static const struct superio_registers reg_table[] = {
        /* ID only */
        {0x52, "W83627HF/F/HG/G", {
                {NOLDN, NULL,
-                       {0x02,0x07,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x28,
-                        0x29,0x2a,0x2b,0x2c,0x2e,0x2f,EOT},
-                       {0x00,NANA,0x52,NANA,0xff,0x00,MISC,0x00,0x00,0x00,
-                        0x00,0x7c,0xc0,0x00,0x00,0x00,EOT}},
+                       {0x02,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x28,0x29,
+                        0x2a,0x2b,0x2c,0x2e,0x2f,EOT},
+                       {0x00,0x52,NANA,0xff,0x00,MISC,0x00,0x00,0x00,0x00,
+                        0x7c,0xc0,0x00,0x00,0x00,EOT}},
                {0x0, "Floppy",
                        {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,
                         0xf5,EOT},