From 747eeaf3aa3691c06dad89acd78dfbe33a2ba7a7 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 16 Jan 2019 14:50:09 +0100 Subject: [PATCH] superio/it8716f: fix pnp_dev_info Change-Id: If6a4b6f52425a795af34264ab839968b36a117eb Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/30960 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/superio/ite/it8716f/superio.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c index 50ab2b9574..a986d7a020 100644 --- a/src/superio/ite/it8716f/superio.c +++ b/src/superio/ite/it8716f/superio.c @@ -75,17 +75,19 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { NULL, IT8716F_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, - { NULL, IT8716F_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { NULL, IT8716F_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { NULL, IT8716F_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, - { NULL, IT8716F_EC, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07f8, 0x07f8, }, - { NULL, IT8716F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07ff, 0x07ff, }, + { NULL, IT8716F_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ff8, }, + { NULL, IT8716F_SP1, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, + { NULL, IT8716F_SP2, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, + { NULL, IT8716F_PP, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_DRQ0, + 0x0ff8, 0x0ffc, }, + { NULL, IT8716F_EC, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0ff8, 0x0ff8, }, + { NULL, IT8716F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0fff, 0x0fff, }, { NULL, IT8716F_KBCM, PNP_IRQ0, }, - { NULL, IT8716F_GPIO, PNP_IO1 | PNP_IO2, 0, 0x07f8, 0x07f8, }, - { NULL, IT8716F_MIDI, PNP_IO0 | PNP_IRQ0, 0x07fe, }, - { NULL, IT8716F_GAME, PNP_IO0, 0x07ff, }, - { NULL, IT8716F_IR, }, + { NULL, IT8716F_GPIO, PNP_IO0 | PNP_IO1 | PNP_IO2, + 0x0ff8, 0x0ff8, 0x0ff8, }, + { NULL, IT8716F_MIDI, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, + { NULL, IT8716F_GAME, PNP_IO0, 0x0ff8, }, + { NULL, IT8716F_IR, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, }; static void enable_dev(struct device *dev)