diff options
Diffstat (limited to 'src/superio')
-rw-r--r-- | src/superio/smsc/lpc47n217/superio.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/superio/smsc/lpc47n217/superio.c b/src/superio/smsc/lpc47n217/superio.c index 96dd4e23df..85de3592db 100644 --- a/src/superio/smsc/lpc47n217/superio.c +++ b/src/superio/smsc/lpc47n217/superio.c @@ -276,43 +276,3 @@ static void pnp_exit_conf_state(struct device *dev) { outb(0xaa, dev->path.pnp.port); } - -#if 0 -/** - * Print the values of all of the LPC47N217's configuration registers. - * - * NOTE: The LPC47N217 must be in config mode when this function is called. - * - * @param dev Pointer to structure describing a Super I/O device. - */ -static void dump_pnp_device(struct device *dev) -{ - int i; - print_debug("\n"); - - for (i = 0; i <= LPC47N217_MAX_CONFIG_REGISTER; i++) { - u8 register_value; - - if ((i & 0x0f) == 0) { - print_debug_hex8(i); - print_debug_char(':'); - } - - /* - * Skip over 'register' that would cause exit from - * configuration mode. - */ - if (i == 0xaa) - register_value = 0xaa; - else - register_value = pnp_read_config(dev, i); - - print_debug_char(' '); - print_debug_hex8(register_value); - if ((i & 0x0f) == 0x0f) - print_debug("\n"); - } - - print_debug("\n"); -} -#endif |