Uwe Hermann <[EMAIL PROTECTED]> wrote: > If you want to, feel free to grab the datasheet and add dump support. > Nothing complex, just a bit time-consuming...
Not so time-consuming for an unemployed guy like me. A few questions, though. I am not sure how I am supposed to use the constants NANA, RSVD and MISC, as defined in superiotool.h. I marked the default for global CR 07 and 21 as NANA, but 07 is logical device number and msd of 21 is supposedly always 1 and lsd is chip revision id, on my HF it is 7. For 24 the datasheet says "Default 0b1s000s0s", a notation I'm unfamiliar with, so I set the default to MISC. This is very likely the wrong way to do it. Also, a few registers are specified as "reserved" or "Test:Reserver for winbond", but they provide a default, so I entered that default. Also, I only grabbed the W83627HF/F datasheet, I think there was a HG/G sheet available too. -- /Rasmus Wiman Geek for hire
Index: winbond.c =================================================================== --- winbond.c (revision 2823) +++ winbond.c (arbetskopia) @@ -153,6 +153,48 @@ {0x9774, "W83977ATF", { {EOT}}}, {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}}, + {0x0, "Floppy", + {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4, + 0xf5,EOT}, + {0x01,0x03,0xf0,0x06,0x02,0x0e,0x00,0xff,0x00, + 0x00,EOT}}, + {0x1, "Parallel port", + {0x30,0x60,0x61,0x70,0x74,0xf0,EOT}, + {0x01,0x03,0x78,0x07,0x04,0x3f,EOT}}, + {0x2, "COM1", + {0x30,0x60,0x61,0x70,0xf0,EOT}, + {0x01,0x03,0xf8,0x04,0x00,EOT}}, + {0x3, "COM2", + {0x30,0x60,0x61,0x70,0xf0,0xf1,EOT}, + {0x01,0x02,0xf8,0x03,0x00,0x00,EOT}}, + {0x5, "Keyboard", + {0x30,0x60,0x61,0x62,0x63,0x70,0x72,0xf0,EOT}, + {0x01,0x00,0x60,0x00,0x64,0x01,0x0c,0x80,EOT}}, + {0x6, "Consumer IR", + {0x30,0x60,0x61,0x70,EOT}, + {0x00,0x00,0x00,0x00,EOT}}, + {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", + {0x30,0xf0,0xf1,0xf2,0xf3,0xf5,0xf6,0xf6,0xf7,EOT}, + {0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,EOT}}, + {0x9, "GPIO 3", + {0x30,0xf0,0xf1,0xf2,0xf3,EOT}, + {0x00,0xff,0x00,0x00,0x00,EOT}}, + {0xa, "ACPI", + {0x30,0x70,0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7, + 0xf0,0xf1,0xf3,0xf4,0xf6,0xf7,0xf9,0xfe,0xff,EOT}, + {0x00,0x00,0x00,0x00,NANA,NANA,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,EOT}}, + {0xb, "Hardware monitor", + {0x30,0x60,0x61,0x70,0xf0,EOT}, + {0x00,0x00,0x00,0x00,0x00,EOT}}, {EOT}}}, {0xa, "W83877F", { {EOT}}},
-- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios