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
This commit is contained in:
Uwe Hermann
2007-09-24 01:40:09 +00:00
parent 6b4ad4304a
commit 0f86732a5e
3 changed files with 100 additions and 15 deletions

View File

@@ -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