summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8716f/superio.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2019-01-16 14:50:09 +0100
committerFelix Held <felix-coreboot@felixheld.de>2019-01-24 03:02:02 +0000
commit747eeaf3aa3691c06dad89acd78dfbe33a2ba7a7 (patch)
tree32cefc74a16c7535b8be9c0ff6c0344797cdb8c5 /src/superio/ite/it8716f/superio.c
parentb91b0ccfc63e031dd9c08b8ef16b9abf658cc6c6 (diff)
downloadcoreboot-747eeaf3aa3691c06dad89acd78dfbe33a2ba7a7.tar.xz
superio/it8716f: fix pnp_dev_info
Change-Id: If6a4b6f52425a795af34264ab839968b36a117eb Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/30960 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/superio/ite/it8716f/superio.c')
-rw-r--r--src/superio/ite/it8716f/superio.c22
1 files 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)