util/: Replace GPLv2 boiler plate with SPDX header
Used commands:
perl -i -p0e 's|\/\*[\s*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-only */|' $(cat filelist)
perl -i -p0e 's|This[\s*]*program[\s*]*is[\s*]*free[\s*]*software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*either[\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License,[\s*]*or[\s*]*.at[\s*]*your[\s*]*option.*[\s*]*any[\s*]*later[\s*]*version.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-or-later */|' $(cat filelist)
perl -i -p0e 's|\/\*[\s*]*.*This[\s*#]*program[\s*#]*is[\s*#]*free[\s*#]*software[;:,][\s*#]*you[\s*#]*can[\s*#]*redistribute[\s*#]*it[\s*#]*and/or[\s*#]*modify[\s*#]*it[\s*#]*under[\s*#]*the[\s*#]*terms[\s*#]*of[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*as[\s*#]*published[\s*#]*by[\s*#]*the[\s*#]*Free[\s*#]*Software[\s*#]*Foundation[;:,][\s*#]*either[\s*#]*version[\s*#]*3[\s*#]*of[\s*#]*the[\s*#]*License[;:,][\s*#]*or[\s*#]*.at[\s*#]*your[\s*#]*option.*[\s*#]*any[\s*#]*later[\s*#]*version.[\s*#]*This[\s*#]*program[\s*#]*is[\s*#]*distributed[\s*#]*in[\s*#]*the[\s*#]*hope[\s*#]*that[\s*#]*it[\s*#]*will[\s*#]*be[\s*#]*useful[;:,][\s*#]*but[\s*#]*WITHOUT[\s*#]*ANY[\s*#]*WARRANTY[;:,][\s*#]*without[\s*#]*even[\s*#]*the[\s*#]*implied[\s*#]*warranty[\s*#]*of[\s*#]*MERCHANTABILITY[\s*#]*or[\s*#]*FITNESS[\s*#]*FOR[\s*#]*A[\s*#]*PARTICULAR[\s*#]*PURPOSE.[\s*#]*See[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*for[\s*#]*more[\s*#]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-3.0-or-later */|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w]*.*is free software[:;][\#\s]*you[\#\s]*can[\#\s]*redistribute[\#\s]*it[\#\s]*and\/or[\#\s]*modify[\#\s]*it[\s\#]*under[\s \#]*the[\s\#]*terms[\s\#]*of[\s\#]*the[\s\#]*GNU[\s\#]*General[\s\#]*Public[\s\#]*License[\s\#]*as[\s\#]*published[\s\#]*by[\s\#]*the[\s\#]*Free[\s\#]*Software[\s\#]*Foundation[;,][\s\#]*version[\s\#]*2[\s\#]*of[\s\#]*the[\s\#]*License.*[\s\#]*This[\s\#]*program[\s\#]*is[\s\#]*distributed[\s\#]*in[\s\#]*the[\s\#]*hope[\s\#]*that[\s\#]*it[\s\#]*will[\#\s]*be[\#\s]*useful,[\#\s]*but[\#\s]*WITHOUT[\#\s]*ANY[\#\s]*WARRANTY;[\#\s]*without[\#\s]*even[\#\s]*the[\#\s]*implied[\#\s]*warranty[\#\s]*of[\#\s]*MERCHANTABILITY[\#\s]*or[\#\s]*FITNESS[\#\s]*FOR[\#\s]*A[\#\s]*PARTICULAR[\#\s]*PURPOSE.[\#\s]*See[\#\s]*the[\#\s]*GNU[\#\s]*General[\#\s]*Public[\#\s]*License[\#\s]*for[\#\s]*more[\#\s]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
Change-Id: I1008a63b804f355a916221ac994701d7584f60ff
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41177
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-08 20:48:04 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2007-09-16 20:11:03 +02:00
|
|
|
|
|
|
|
#include "superiotool.h"
|
|
|
|
|
2007-10-04 17:23:38 +02:00
|
|
|
#define CHIP_ID_REG 0x20 /* Super I/O ID (SID) / family */
|
|
|
|
#define CHIP_REV_REG 0x27 /* Super I/O revision ID (SRID) */
|
|
|
|
|
2007-10-31 23:22:11 +01:00
|
|
|
static const struct superio_registers reg_table[] = {
|
2007-12-14 00:56:16 +01:00
|
|
|
{0xcf, "PC97307", {
|
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x20,0x21,0x22,0x23,0x24,0x27,EOT},
|
|
|
|
{0xcf,MISC,MISC,0x00,0x00,NANA,EOT}},
|
|
|
|
{0x0, "Keyboard",
|
|
|
|
{0x30,0x31,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,
|
|
|
|
0xf0,EOT},
|
|
|
|
{MISC,0x00,0x00,0x60,0x00,0x64,0x01,0x02,0x04,0x04,
|
|
|
|
0x40,EOT}},
|
|
|
|
{0x1, "Mouse",
|
|
|
|
{0x30,0x70,0x71,0x74,0x75,EOT},
|
|
|
|
{0x00,0x0c,0x02,0x04,0x04,EOT}},
|
|
|
|
{0x2, "Real-time clock (RTC), advanced power control (APC)",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,EOT},
|
|
|
|
{MISC,0x00,0x00,0x70,0x08,0x00,0x04,0x04,EOT}},
|
|
|
|
{0x3, "Floppy",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,
|
|
|
|
EOT},
|
|
|
|
{MISC,0x00,0x03,0xf2,0x06,0x03,0x02,0x04,0x20,0x00,
|
|
|
|
EOT}},
|
|
|
|
{0x4, "Parallel port",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x02,0x78,0x07,0x00,0x04,0x04,0xf2,EOT}},
|
|
|
|
{0x5, "COM2 / IR",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x02,0xf8,0x03,0x03,0x04,0x04,0x02,EOT}},
|
|
|
|
{0x6, "COM1",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x03,0xf8,0x04,0x03,0x04,0x04,0x02,EOT}},
|
|
|
|
{0x7, "GPIO",
|
|
|
|
{0x30,0x31,0x60,0x61,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x04,0x04,EOT}},
|
|
|
|
{0x8, "Power management",
|
|
|
|
{0x30,0x31,0x60,0x61,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x04,0x04,EOT}},
|
|
|
|
{EOT}}},
|
2007-12-07 22:55:12 +01:00
|
|
|
{0xd0, "PC87317", {
|
2007-12-17 23:10:00 +01:00
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x20,0x21,0x22,0x23,0x24,0x25,EOT},
|
|
|
|
{0xd0,MISC,MISC,0x00,0x00,0x00,EOT}},
|
|
|
|
{0x0, "Keyboard",
|
|
|
|
{0x30,0x31,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,
|
|
|
|
0xf0,EOT},
|
|
|
|
{MISC,0x00,0x00,0x60,0x00,0x64,0x01,0x02,0x04,0x04,
|
|
|
|
0x40,EOT}},
|
|
|
|
{0x1, "Mouse",
|
|
|
|
{0x30,0x70,0x71,0x74,0x75,EOT},
|
|
|
|
{0x00,0x0c,0x02,0x04,0x04,EOT}},
|
|
|
|
{0x2, "Real-time clock (RTC), advanced power control (APC)",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,EOT},
|
|
|
|
{MISC,0x00,0x00,0x70,0x08,0x00,0x04,0x04,EOT}},
|
|
|
|
{0x3, "Floppy",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,
|
|
|
|
EOT},
|
|
|
|
{MISC,0x00,0x03,0xf2,0x06,0x03,0x02,0x04,0x20,0x00,
|
|
|
|
EOT}},
|
|
|
|
{0x4, "Parallel port",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x02,0x78,0x07,0x00,0x04,0x04,0xf2,EOT}},
|
|
|
|
{0x5, "COM2 / IR",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x02,0xf8,0x03,0x03,0x04,0x04,0x02,EOT}},
|
|
|
|
{0x6, "COM1",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x03,0xf8,0x04,0x03,0x04,0x04,0x02,EOT}},
|
|
|
|
{0x7, "GPIO",
|
|
|
|
{0x30,0x31,0x60,0x61,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x04,0x04,EOT}},
|
|
|
|
{0x8, "Power management",
|
|
|
|
{0x30,0x31,0x60,0x61,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x04,0x04,EOT}},
|
2007-10-07 23:48:26 +02:00
|
|
|
{EOT}}},
|
2007-12-07 22:55:12 +01:00
|
|
|
{0xdf, "PC97317", {
|
2007-12-14 01:04:16 +01:00
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x20,0x21,0x22,0x23,0x24,0x25,0x27,EOT},
|
|
|
|
{0xdf,MISC,MISC,0x00,0x00,0x00,NANA,EOT}},
|
|
|
|
{0x0, "Keyboard",
|
|
|
|
{0x30,0x31,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,
|
|
|
|
0xf0,EOT},
|
|
|
|
{MISC,0x00,0x00,0x60,0x00,0x64,0x01,0x02,0x04,0x04,
|
|
|
|
0x40,EOT}},
|
|
|
|
{0x1, "Mouse",
|
|
|
|
{0x30,0x70,0x71,0x74,0x75,EOT},
|
|
|
|
{0x00,0x0c,0x02,0x04,0x04,EOT}},
|
|
|
|
{0x2, "Real-time clock (RTC), advanced power control (APC)",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,EOT},
|
|
|
|
{MISC,0x00,0x00,0x70,0x08,0x00,0x04,0x04,EOT}},
|
|
|
|
{0x3, "Floppy",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,
|
|
|
|
EOT},
|
|
|
|
{MISC,0x00,0x03,0xf2,0x06,0x03,0x02,0x04,0x20,0x00,
|
|
|
|
EOT}},
|
|
|
|
{0x4, "Parallel port",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x02,0x78,0x07,0x00,0x04,0x04,0xf2,EOT}},
|
|
|
|
{0x5, "COM2 / IR",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x02,0xf8,0x03,0x03,0x04,0x04,0x02,EOT}},
|
|
|
|
{0x6, "COM1",
|
|
|
|
{0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x03,0xf8,0x04,0x03,0x04,0x04,0x02,EOT}},
|
|
|
|
{0x7, "GPIO",
|
|
|
|
{0x30,0x31,0x60,0x61,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x04,0x04,EOT}},
|
|
|
|
{0x8, "Power management",
|
|
|
|
{0x30,0x31,0x60,0x61,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x04,0x04,EOT}},
|
2007-10-07 23:48:26 +02:00
|
|
|
{EOT}}},
|
2007-12-08 01:17:19 +01:00
|
|
|
{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}}},
|
2007-10-07 23:48:26 +02:00
|
|
|
{0xe1, "PC87360", {
|
2007-11-13 16:16:06 +01:00
|
|
|
{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 (ACB)",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,EOT}},
|
|
|
|
{0x9, "Fan speed control and monitor (FSCM)",
|
|
|
|
{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}},
|
2007-10-07 23:48:26 +02:00
|
|
|
{EOT}}},
|
|
|
|
{0xe2, "PC87351", {
|
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x20,0x21,0x22,0x23,0x24,0x27,0x2e,EOT},
|
|
|
|
{0xe2,0x11,0xa1,0x00,MISC,NANA,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,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,0x00,EOT}},
|
|
|
|
{0x8, "Fan speed control",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x00,EOT}},
|
|
|
|
{EOT}}},
|
|
|
|
{0xe4, "PC87364", {
|
2011-03-06 18:58:31 +01:00
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x2a,
|
|
|
|
0x2b,0x2c,0x2d,0x2e,EOT},
|
|
|
|
{0xe4,0x11,0x00,0x03,0x00,0x00,0x00,NANA,0x00,MISC,
|
|
|
|
0x00,0x00,NANA,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 (ACB)",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,EOT}},
|
|
|
|
{0x9, "Fan speed control and monitor (FSCM)",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,0x00,EOT}},
|
|
|
|
{0xa, "Watchdog timer",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x02,EOT}},
|
2007-10-07 23:48:26 +02:00
|
|
|
{EOT}}},
|
|
|
|
{0xe5, "PC87365", { /* SRID[7..0] == chip revision */
|
|
|
|
{EOT}}},
|
|
|
|
{0xe8, "PC87363", {
|
|
|
|
{EOT}}},
|
|
|
|
{0xe9, "PC87366", {
|
2007-11-24 22:49:39 +01:00
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x20,0x21,0x22,0x23,0x24,0x25,0x27,0x28,0x2a,0x2b,
|
|
|
|
0x2c,0x2d,0x2e,EOT},
|
|
|
|
{0xe9,0x11,0x00,0x03,0x00,0x00,NANA,0x00,MISC,MISC,
|
|
|
|
0x00,MISC,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 (ACB)",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,EOT}},
|
|
|
|
{0x9, "Fan speed control and monitor (FSCM)",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,0xf2,
|
|
|
|
EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,0x00,0x00,
|
|
|
|
EOT}},
|
|
|
|
{0xa, "Watchdog timer (WDT)",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x02,EOT}},
|
|
|
|
{0xb, "Game port",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x02,0x00,0x00,0x03,0x04,0x04,0x00,EOT}},
|
|
|
|
{0xc, "MIDI port",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x03,0x30,0x00,0x03,0x04,0x04,0x00,EOT}},
|
2007-12-08 00:55:20 +01:00
|
|
|
{0xd, "Voltage level monitor (VLM)",
|
2007-11-24 22:49:39 +01:00
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,EOT}},
|
2007-12-08 00:55:20 +01:00
|
|
|
{0xe, "Temperature sensor (TMS)",
|
2007-11-24 22:49:39 +01:00
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,EOT}},
|
2007-10-07 23:48:26 +02:00
|
|
|
{EOT}}},
|
2011-02-03 00:49:41 +01:00
|
|
|
{0xf4, "PC87382", {
|
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x20,0x21,0x22,0x26,0x27,0x29,EOT},
|
|
|
|
{0xf4,0x11,0x63,0x00,0x00,0x00,EOT}},
|
|
|
|
{0x02, "IR",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x02,0xf8,0x03,0x03,0x04,0x04,0x02,EOT}},
|
|
|
|
{0x03, "COM1",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x03,0xf8,0x04,0x03,0x04,0x04,0x02,EOT}},
|
|
|
|
{0x07, "GPIO",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,
|
|
|
|
0xf2,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,MISC,
|
|
|
|
0x01,EOT}},
|
|
|
|
{0x19, "Docking LPC switch",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x04,0x04,EOT}},
|
|
|
|
{EOT}}},
|
2007-10-07 23:48:26 +02:00
|
|
|
/* SID[7..0]: family, SRID[7..5]: ID, SRID[4..0]: rev. */
|
|
|
|
{0xea, "PC8739x", {
|
2008-12-20 20:35:54 +01:00
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,
|
|
|
|
0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
|
|
|
|
{0xea,0x11,MISC,MISC,MISC,0x80,0x00,NANA,0x00,MISC,
|
|
|
|
0x37,RSVD,RSVD,RSVD,RSVD,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 / FIR",
|
|
|
|
{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}},
|
|
|
|
{0x7, "GPIO",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,0xf2,
|
|
|
|
EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,0x44,0x01,
|
|
|
|
EOT}},
|
|
|
|
{0xa, "Watchdog timer (WDT)",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x02,EOT}},
|
|
|
|
{0xb, "Game port",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x02,0x01,0x00,0x03,0x04,0x04,0x00,EOT}},
|
|
|
|
{0xc, "MIDI port",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x03,0x30,0x00,0x03,0x04,0x04,0x00,EOT}},
|
|
|
|
{0xf, "X-Bus",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,0xf2,
|
|
|
|
0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x00,0x00,0x00,
|
|
|
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
|
2007-10-07 23:48:26 +02:00
|
|
|
{EOT}}},
|
|
|
|
{0xec, "PC87591x", {
|
|
|
|
/* SRID[7..5]: 000=PC87591E, 001=PC87591S, 100=PC87591L */
|
|
|
|
{EOT}}},
|
|
|
|
{0xee, "PC8741x", {
|
|
|
|
/* SRID[7..5] is marked as "not applicable for the PC8741x". */
|
2007-12-14 00:41:45 +01:00
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,
|
|
|
|
0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
|
|
|
|
{0xee,0x11,0x20,MISC,MISC,MISC,0x00,NANA,0x00,MISC,
|
|
|
|
0x00,RSVD,RSVD,RSVD,RSVD,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,0x62,0x63,0x64,0x65,0x66,0x67,0x70,
|
|
|
|
0x71,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x00,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},
|
|
|
|
{0x00,0x00,0x60,0x00,0x64,0x01,0x02,0x04,0x04,0x40,
|
|
|
|
EOT}},
|
|
|
|
{0x7, "GPIO",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,0xf2,
|
|
|
|
0xf3,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,MISC,0x01,
|
|
|
|
0x00,EOT}},
|
|
|
|
{0xf, "X-Bus",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,0xf2,
|
|
|
|
0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,
|
|
|
|
EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x00,0x00,0x00,
|
|
|
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
|
|
EOT}},
|
|
|
|
{0x10, "Real-time clock (RTC)",
|
|
|
|
{0x30,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,0xf0,
|
|
|
|
0xf1,0xf2,0xf3,EOT},
|
|
|
|
{0x00,0x00,0x70,0x00,0x72,0x08,0x00,0x04,0x04,0x00,
|
|
|
|
0x00,0x00,0x00,EOT}},
|
2007-10-07 23:48:26 +02:00
|
|
|
{EOT}}},
|
|
|
|
{0xf0, "PC87372", {
|
|
|
|
{EOT}}},
|
2009-11-09 23:34:17 +01:00
|
|
|
{0x0f1, "PC8374L", {
|
2007-10-14 19:02:15 +02:00
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x10,0x12,0x13,0x20,0x21,0x22,0x23,0x24,0x25,0x26,
|
|
|
|
0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
|
|
|
|
{0x00,0x00,0x00,0xf1,0x11,0x00,0x00,0x00,RSVD,0x00,
|
|
|
|
MISC,RSVD,0x01,0x2e,RSVD,RSVD,RSVD,RSVD,RSVD,EOT}},
|
|
|
|
{0x0, "Floppy",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,0xf8,
|
|
|
|
EOT},
|
|
|
|
{0x00,0x03,0xf2,0x06,0x03,0x02,0x04,0x24,0x00,0x24,
|
|
|
|
EOT}},
|
|
|
|
{0x1, "Parallel port",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf8,EOT},
|
|
|
|
{0x00,0x02,0x78,0x07,0x02,0x04,0x04,0xf2,0x07,EOT}},
|
|
|
|
{0x2, "COM2 / IR",
|
|
|
|
{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,0x50,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,
|
|
|
|
EOT},
|
|
|
|
{0x00,0x00,0x00,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},
|
|
|
|
{0x00,0x00,0x60,0x00,0x64,0x01,0x02,0x04,0x04,0x40,
|
|
|
|
EOT}},
|
|
|
|
{0x7, "GPIO",
|
|
|
|
{0x30,0x50,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,
|
|
|
|
0xf2,0xf3,0xf8,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,MISC,
|
|
|
|
0x00,MISC,0x01,EOT}},
|
|
|
|
{0x8, "Health management",
|
|
|
|
{0x30,0x50,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x05,EOT}},
|
2007-10-04 17:23:38 +02:00
|
|
|
{EOT}}},
|
2009-11-09 23:34:17 +01:00
|
|
|
{0x8f1, "WPCD376I", {
|
2018-08-24 23:38:16 +02:00
|
|
|
/* This is basically a clone/revision of NSC PC8374L. */
|
2009-11-09 23:34:17 +01:00
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x10,0x12,0x13,0x20,0x21,0x22,0x23,0x24,0x25,0x26,
|
|
|
|
0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
|
2018-08-24 23:38:16 +02:00
|
|
|
{0x00,0x00,0x00,0xf1,0x11,0x00,0x00,0x00,0x06,0x00,
|
2009-11-09 23:34:17 +01:00
|
|
|
MISC,RSVD,0x01,0x2e,RSVD,RSVD,RSVD,RSVD,RSVD,EOT}},
|
|
|
|
{0x0, "Floppy",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,0xf8,
|
|
|
|
EOT},
|
|
|
|
{0x00,0x03,0xf2,0x06,0x03,0x02,0x04,0x24,0x00,0x24,
|
|
|
|
EOT}},
|
|
|
|
{0x1, "Parallel port",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf8,EOT},
|
|
|
|
{0x00,0x02,0x78,0x07,0x02,0x04,0x04,0xf2,0x07,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,0x50,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,
|
|
|
|
EOT},
|
|
|
|
{0x00,0x00,0x00,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},
|
|
|
|
{0x00,0x00,0x60,0x00,0x64,0x01,0x02,0x04,0x04,0x40,
|
|
|
|
EOT}},
|
|
|
|
{0x7, "GPIO",
|
|
|
|
{0x30,0x50,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,
|
|
|
|
0xf2,0xf3,0xf8,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,MISC,
|
|
|
|
0x00,MISC,0x01,EOT}},
|
2018-08-24 23:38:16 +02:00
|
|
|
{0x15, "ECIR",
|
|
|
|
{0x30,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x04,EOT}},
|
|
|
|
{0x16, "COM3 / IR",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x02,EOT}},
|
2009-11-09 23:34:17 +01:00
|
|
|
{EOT}}},
|
2007-10-07 23:48:26 +02:00
|
|
|
{0xf2, "PC87427", {
|
|
|
|
/* SRID[7..5] is marked as "not applicable for the PC87427". */
|
2008-06-07 13:36:30 +02:00
|
|
|
{NOLDN, NULL,
|
|
|
|
{0x10,0x12,0x13,0x1d,0x20,0x21,0x22,0x23,0x24,0x25,
|
|
|
|
0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
|
|
|
|
EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0xf2,0x11,0xa0,MISC,MISC,MISC,
|
|
|
|
0x02,NANA,0x00,MISC,0x00,0x00,MISC,MISC,RSVD,RSVD,
|
|
|
|
EOT}},
|
|
|
|
{0x0, "Floppy",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,EOT},
|
|
|
|
{0x00,0x03,0xf2,0x06,0x03,0x02,0x04,0x24,0x00,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,0x62,0x63,0x64,0x65,0x66,0x67,0x70,
|
|
|
|
0x71,0x74,0x75,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x00,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},
|
|
|
|
{0x00,0x00,0x60,0x00,0x64,0x01,0x02,0x04,0x04,0x40,
|
|
|
|
EOT}},
|
|
|
|
{0x7, "GPIO",
|
|
|
|
{0x30,0x50,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,
|
|
|
|
0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,MISC,
|
|
|
|
0x01,0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
|
|
|
|
{0x9, "Fan Monitor and Control (FMC)",
|
|
|
|
{0x30,0x50,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,
|
|
|
|
EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x19,0x06,
|
|
|
|
EOT}},
|
|
|
|
{0xa, "Watchdog timer (WDT)",
|
|
|
|
{0x30,0x50,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,EOT}},
|
|
|
|
{0xf, "X-Bus",
|
|
|
|
{0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,0xf2,
|
|
|
|
0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,
|
|
|
|
0xfd,0xfe,0xff,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x00,0x00,0x00,
|
|
|
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
|
|
0x00,0x80,0x10,EOT}},
|
|
|
|
{0x10, "Real-time clock (RTC)",
|
|
|
|
{0x30,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,0xf0,
|
|
|
|
0xf1,0xf2,0xf3,0xf6,0xf7,EOT},
|
|
|
|
{0x00,0x00,0x70,0x00,0x72,0x08,0x00,0x04,0x04,0x00,
|
|
|
|
0x00,0x00,0x00,MISC,0x00,EOT}},
|
2009-06-26 17:25:04 +02:00
|
|
|
{0x14, "Health monitoring and control (HMC)",
|
2008-06-07 13:36:30 +02:00
|
|
|
{0x30,0x50,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,
|
|
|
|
0xf0,EOT},
|
|
|
|
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x04,
|
|
|
|
0x05,EOT}},
|
2007-10-07 23:48:26 +02:00
|
|
|
{EOT}}},
|
|
|
|
{0xf3, "PC87373", {
|
|
|
|
{EOT}}},
|
2007-10-04 17:23:38 +02:00
|
|
|
{EOT}
|
2007-09-16 20:11:03 +02:00
|
|
|
};
|
|
|
|
|
2007-10-04 17:23:38 +02:00
|
|
|
void probe_idregs_nsc(uint16_t port)
|
2007-09-16 20:11:03 +02:00
|
|
|
{
|
2007-10-04 17:23:38 +02:00
|
|
|
uint8_t id, rev;
|
2009-11-09 23:34:17 +01:00
|
|
|
uint16_t magic;
|
2007-09-16 20:11:03 +02:00
|
|
|
|
2007-10-04 17:23:38 +02:00
|
|
|
probing_for("NSC", "", port);
|
|
|
|
|
2008-10-28 23:13:38 +01:00
|
|
|
OUTB(CHIP_ID_REG, port);
|
|
|
|
if (INB(port) != CHIP_ID_REG) {
|
2007-10-04 17:23:38 +02:00
|
|
|
if (verbose)
|
|
|
|
printf(NOTFOUND "port=0x%02x, port+1=0x%02x\n",
|
2008-10-28 23:13:38 +01:00
|
|
|
INB(port), INB(port + 1));
|
2007-09-16 20:11:03 +02:00
|
|
|
return;
|
|
|
|
}
|
2008-10-28 23:13:38 +01:00
|
|
|
id = INB(port + 1);
|
2007-09-16 20:11:03 +02:00
|
|
|
|
2008-10-28 23:13:38 +01:00
|
|
|
OUTB(CHIP_REV_REG, port);
|
|
|
|
if (INB(port) != CHIP_REV_REG) {
|
2007-10-04 17:23:38 +02:00
|
|
|
printf("Warning: Can't get chip revision. Setting to 0xff.\n");
|
|
|
|
rev = 0xff;
|
|
|
|
} else {
|
2008-10-28 23:13:38 +01:00
|
|
|
rev = INB(port + 1);
|
2007-10-04 17:23:38 +02:00
|
|
|
}
|
2007-09-16 20:11:03 +02:00
|
|
|
|
2009-11-09 23:34:17 +01:00
|
|
|
/*
|
|
|
|
* NSC PC8374L has ID 0xf1, rev 0b000xxxxx according to datasheet.
|
|
|
|
* Winbond WPCD376I has ID 0xf1, rev 0b100xxxxx according to datasheet.
|
|
|
|
*/
|
|
|
|
if (id == 0xf1)
|
|
|
|
magic = ((rev & 0xe0) << 4) | id;
|
|
|
|
else
|
|
|
|
magic = id;
|
|
|
|
|
|
|
|
if (superio_unknown(reg_table, magic)) {
|
2007-10-04 17:23:38 +02:00
|
|
|
if (verbose)
|
|
|
|
printf(NOTFOUND "sid=0x%02x, srid=0x%02x\n", id, rev);
|
|
|
|
return;
|
2007-09-16 20:11:03 +02:00
|
|
|
}
|
2007-10-04 17:23:38 +02:00
|
|
|
|
2009-11-09 23:34:17 +01:00
|
|
|
printf("Found %s %s (sid=0x%02x, srid=0x%02x) at 0x%x\n",
|
|
|
|
magic == 0x8f1 ? "Winbond" : "NSC",
|
|
|
|
get_superio_name(reg_table, magic), id, rev, port);
|
2007-10-07 22:01:23 +02:00
|
|
|
chip_found = 1;
|
2007-10-04 17:23:38 +02:00
|
|
|
|
2009-11-09 23:34:17 +01:00
|
|
|
dump_superio(magic == 0x8f1 ? "Winbond" : "NSC",
|
|
|
|
reg_table, port, magic, LDN_SEL);
|
2007-09-16 20:11:03 +02:00
|
|
|
}
|
2008-01-15 23:30:55 +01:00
|
|
|
|
|
|
|
void print_nsc_chips(void)
|
|
|
|
{
|
|
|
|
print_vendor_chips("NSC", reg_table);
|
|
|
|
}
|