diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2007-09-24 01:40:09 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-09-24 01:40:09 +0000 |
commit | 0f86732a5ed178614ab89cf19905d283877d3a4f (patch) | |
tree | 9adf0945dc24097b0f23cf29ff16c3c2c65aa2f4 /util/superiotool/superiotool.h | |
parent | 6b4ad4304a57fdcfd6147370235896406f229e61 (diff) | |
download | coreboot-0f86732a5ed178614ab89cf19905d283877d3a4f.tar.xz |
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 <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2803 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r-- | util/superiotool/superiotool.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 |