diff options
-rw-r--r-- | src/superio/winbond/w83977tf/Kconfig | 6 | ||||
-rw-r--r-- | src/superio/winbond/w83977tf/superio.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/superio/winbond/w83977tf/Kconfig b/src/superio/winbond/w83977tf/Kconfig index d656b67884..e7f25ab1e7 100644 --- a/src/superio/winbond/w83977tf/Kconfig +++ b/src/superio/winbond/w83977tf/Kconfig @@ -4,3 +4,9 @@ config SUPERIO_WINBOND_W83977TF bool select SUPERIO_WINBOND_COMMON_PRE_RAM + +config W83977TF_HAVE_SEPARATE_IR_DEVICE + bool + help + Mainboard should select this option if it contains an old + version of W83977TF with a separate IR logical device. diff --git a/src/superio/winbond/w83977tf/superio.c b/src/superio/winbond/w83977tf/superio.c index b56bb9c325..04b26e0f60 100644 --- a/src/superio/winbond/w83977tf/superio.c +++ b/src/superio/winbond/w83977tf/superio.c @@ -37,7 +37,9 @@ static struct pnp_info pnp_dev_info[] = { { NULL, W83977TF_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, { NULL, W83977TF_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, 0x07ff, }, +#if CONFIG(W83977TF_HAVE_SEPARATE_IR_DEVICE) { NULL, W83977TF_CIR, PNP_IO0 | PNP_IRQ0, 0x07f8, }, +#endif { NULL, W83977TF_GAME_MIDI_GPIO1, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07ff, 0x07fe, }, { NULL, W83977TF_ACPI, PNP_IRQ0, }, |