aboutsummaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc97317/superio.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2019-01-16 13:23:35 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-17 14:52:17 +0000
commitd5292bf9a5a1e47a3cbb6393f23c6f021232be02 (patch)
treeff0615f795e075b1c65b7effd61e8fcf3fb32abd /src/superio/nsc/pc97317/superio.c
parent81b6f9b8abf374221c4340deb14fa9d696f96497 (diff)
superio/nsc: fix IO masks
The IO mask shouldn't contain zeros inside the block of ones. Change-Id: Icfebbf1d1d88ceef58800339bf899931fdc61ab7 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/30954 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/superio/nsc/pc97317/superio.c')
-rw-r--r--src/superio/nsc/pc97317/superio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/nsc/pc97317/superio.c b/src/superio/nsc/pc97317/superio.c
index 9b2cbac6b6..a7e83ad5cc 100644
--- a/src/superio/nsc/pc97317/superio.c
+++ b/src/superio/nsc/pc97317/superio.c
@@ -48,10 +48,10 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { NULL, PC97317_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0ffb, 0x0ffb, },
+ { NULL, PC97317_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0fff, 0x0fff, },
{ NULL, PC97317_KBCM, PNP_IRQ0, },
{ NULL, PC97317_RTC, PNP_IO0 | PNP_IRQ0, 0xfffe, },
- { NULL, PC97317_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0xfffa, },
+ { NULL, PC97317_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0xfff8, },
{ NULL, PC97317_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x03fc, },
{ NULL, PC97317_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1,
0xfff8, },