summaryrefslogtreecommitdiffstats
path: root/src/superio/ite/it8671f/superio.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-08-29 17:41:14 +0000
committerStefan Reinauer <stepan@openbios.org>2006-08-29 17:41:14 +0000
commit61be08bd3e7f411ffb544d3ded2ae14ca225e982 (patch)
tree98c7b4de0c03834c742cd1ddccfe7aa20ae016fd /src/superio/ite/it8671f/superio.c
parentabaf71a2d5a62d0de88c2f69b038f8646835ffe3 (diff)
downloadcoreboot-61be08bd3e7f411ffb544d3ded2ae14ca225e982.tar.gz
coreboot-61be08bd3e7f411ffb544d3ded2ae14ca225e982.tar.bz2
coreboot-61be08bd3e7f411ffb544d3ded2ae14ca225e982.zip
merge latest code from Uwe Hermann
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2394 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite/it8671f/superio.c')
-rw-r--r--src/superio/ite/it8671f/superio.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/superio/ite/it8671f/superio.c b/src/superio/ite/it8671f/superio.c
index ca2811ab814d..cc9f65e32eeb 100644
--- a/src/superio/ite/it8671f/superio.c
+++ b/src/superio/ite/it8671f/superio.c
@@ -33,8 +33,7 @@ static void init(device_t dev)
conf = dev->chip_info;
switch (dev->path.u.pnp.device) {
- case IT8671F_FDC:
- /* TODO. */
+ case IT8671F_FDC: /* TODO. */
break;
case IT8671F_SP1:
res0 = find_resource(dev, PNP_IDX_IO0);
@@ -44,11 +43,15 @@ static void init(device_t dev)
res0 = find_resource(dev, PNP_IDX_IO0);
init_uart8250(res0->base, &conf->com2);
break;
+ case IT8671F_PP: /* TODO. */
+ break;
case IT8671F_KBCK:
res0 = find_resource(dev, PNP_IDX_IO0);
res1 = find_resource(dev, PNP_IDX_IO1);
init_pc_keyboard(res0->base, res1->base, &conf->keyboard);
break;
+ case IT8671F_KBCM: /* TODO. */
+ break;
}
}
@@ -60,12 +63,10 @@ static struct device_operations ops = {
.init = init,
};
-/* TODO: Find and check datasheet. */
+/* TODO: FDC, PP, KBCM. */
static struct pnp_info pnp_dev_info[] = {
- { &ops, IT8671F_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, { 0x07fa, 0}, },
- /* { &ops, IT8671F_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, { 0x04f8, 0}, }, */
- { &ops, IT8671F_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, { 0x7f8, 0 }, },
{ &ops, IT8671F_SP1, PNP_IO0 | PNP_IRQ0, { 0x7f8, 0 }, },
+ { &ops, IT8671F_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, { 0x7f8, 0 }, },
{ &ops, IT8671F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, { 0x7f8, 0 }, { 0x7f8, 0x4}, },
};