diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-10-03 18:16:23 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-10-03 18:16:23 +0000 |
commit | 6c0b6d72bcce9cbe83599682de753013b3eced17 (patch) | |
tree | 35c695134991dc19e751e6083c347d8ccb52592d /src/superio/ite | |
parent | 92f3eda8091f400ff71b7fbaf0be7b646521ddc4 (diff) | |
download | coreboot-6c0b6d72bcce9cbe83599682de753013b3eced17.tar.xz |
Fix/amend the incorrect pnp_dev_info[] items for the ITE IT8712F Super I/O.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3635 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite')
-rw-r--r-- | src/superio/ite/it8712f/superio.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/superio/ite/it8712f/superio.c b/src/superio/ite/it8712f/superio.c index cf57c2ecdf..acb2d7c6ea 100644 --- a/src/superio/ite/it8712f/superio.c +++ b/src/superio/ite/it8712f/superio.c @@ -121,15 +121,18 @@ static struct device_operations ops = { .init = it8712f_init, }; -/* TODO: FDC, MIDI, GAME, IR. */ static struct pnp_info pnp_dev_info[] = { - {&ops, IT8712F_SP1, PNP_IO0 | PNP_IRQ0, {0x7f8, 0}, }, - {&ops, IT8712F_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, {0x7f8, 0}, }, - {&ops, IT8712F_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, {0x07f8, 0},}, - {&ops, IT8712F_EC, PNP_IO0 | PNP_IO1 | PNP_IRQ0, {0x7f8, 0}, {0x7f8, 0x4},}, - {&ops, IT8712F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, {0x7f8, 0}, {0x7f8, 0x4}, }, - {&ops, IT8712F_KBCM, PNP_IRQ0, }, - {&ops, IT8712F_GPIO, }, + {&ops, IT8712F_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, {0xff8, 0},}, + {&ops, IT8712F_SP1, PNP_IO0 | PNP_IRQ0, {0xff8, 0},}, + {&ops, IT8712F_SP2, PNP_IO0 | PNP_IRQ0, {0xff8, 0},}, + {&ops, IT8712F_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, {0xffc, 0},}, + {&ops, IT8712F_EC, PNP_IO0 | PNP_IO1 | PNP_IRQ0, {0xff8, 0}, {0xff8, 4},}, + {&ops, IT8712F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, {0xfff, 0}, {0xfff, 4},}, + {&ops, IT8712F_KBCM, PNP_IRQ0,}, + {&ops, IT8712F_GPIO,}, + {&ops, IT8712F_MIDI, PNP_IO0 | PNP_IRQ0, {0xff8, 0},}, + {&ops, IT8712F_GAME, PNP_IO0, {0xfff, 0},}, + {&ops, IT8712F_IR, PNP_IO0 | PNP_IRQ0, {0xff8, 0},}, }; static void enable_dev(struct device *dev) |