From 0f86732a5ed178614ab89cf19905d283877d3a4f Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 24 Sep 2007 01:40:09 +0000 Subject: Add detection support for quite a number of SMSC Super I/Os. Also, add dump support for the SMSC DME1737 and the ASUS A8000. Random minor fixes. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2803 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/superiotool/superiotool.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'util/superiotool/superiotool.h') diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h index 493c841058..f7b4409439 100644 --- a/util/superiotool/superiotool.h +++ b/util/superiotool/superiotool.h @@ -52,7 +52,7 @@ and print its vendor, name, ID, version, and config port.\n" #define LDNSIZE (MAXLDN + 3) /* Biggest LDN + 0 + NOLDN + EOT */ #define MAXNUMIDX 70 /* Maximum number of indexes */ #define IDXSIZE (MAXNUMIDX + 1) -#define MAXNUMPORTS (2 + 1) /* Maximum number of Super I/O ports */ +#define MAXNUMPORTS (4 + 1) /* Maximum number of Super I/O ports */ /* Command line parameters. */ extern int dump, dump_readable, verbose; @@ -101,11 +101,11 @@ const static struct { void (*probe_idregs) (uint16_t port); int ports[MAXNUMPORTS]; /* Signed, as we need EOT. */ } superio_ports_table[] = { - {probe_idregs_simple, {0x2e, 0x4e, EOT}}, - {probe_idregs_fintek, {0x2e, 0x4e, EOT}}, - {probe_idregs_ite, {0x2e, 0x4e, EOT}}, - {probe_idregs_smsc, {0x3f0, 0x370, EOT}}, - {probe_idregs_winbond, {0x2e, 0x4e, EOT}}, + {probe_idregs_simple, {0x2e, 0x4e, EOT}}, + {probe_idregs_fintek, {0x2e, 0x4e, EOT}}, + {probe_idregs_ite, {0x2e, 0x4e, EOT}}, + {probe_idregs_smsc, {0x2e, 0x4e, 0x3f0, 0x370, EOT}}, + {probe_idregs_winbond, {0x2e, 0x4e, EOT}}, }; #endif -- cgit v1.2.3