summaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83627thg
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2018-07-06 20:22:08 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-07-25 09:28:20 +0000
commit8c85880236d57abf05fb2578a97a3e6dd52e7b7c (patch)
tree11d62f6a8f8329a992de997d1560b7bd53fe2a4e /src/superio/winbond/w83627thg
parenta2c49b02998a805e87acddbf11ccf2d4b311c8c2 (diff)
downloadcoreboot-8c85880236d57abf05fb2578a97a3e6dd52e7b7c.tar.xz
superio/winbond: remove LDN-specific ops overrides
The pnp ops struct is already passed to the pnp_enable_devices function and it is used if no override is supplied in the elements of the pnp_info struct array Change-Id: I4311834f3970bd3471f2f5a73ca7da3c03936d37 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/27385 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/superio/winbond/w83627thg')
-rw-r--r--src/superio/winbond/w83627thg/superio.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/superio/winbond/w83627thg/superio.c b/src/superio/winbond/w83627thg/superio.c
index 3ee75d72ee..fb6e54d39e 100644
--- a/src/superio/winbond/w83627thg/superio.c
+++ b/src/superio/winbond/w83627thg/superio.c
@@ -48,16 +48,19 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, W83627THG_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83627THG_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83627THG_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627THG_SP2, PNP_IO0 | PNP_IRQ0 | PNP_MSC1, 0x07f8, },
- { &ops, W83627THG_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1 | PNP_MSC0, 0x07ff, 0x07ff, },
- { &ops, W83627THG_GAME_MIDI_GPIO1, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07ff, 0x07fe, },
- { &ops, W83627THG_GPIO2, },
- { &ops, W83627THG_GPIO3, PNP_EN | PNP_MSC0 | PNP_MSC1, },
- { &ops, W83627THG_ACPI, PNP_IRQ0, },
- { &ops, W83627THG_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
+ { NULL, W83627THG_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83627THG_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83627THG_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627THG_SP2, PNP_IO0 | PNP_IRQ0 | PNP_MSC1, 0x07f8, },
+ { NULL, W83627THG_KBC,
+ PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1 | PNP_MSC0,
+ 0x07ff, 0x07ff, },
+ { NULL, W83627THG_GAME_MIDI_GPIO1, PNP_IO0 | PNP_IO1 | PNP_IRQ0,
+ 0x07ff, 0x07fe, },
+ { NULL, W83627THG_GPIO2, },
+ { NULL, W83627THG_GPIO3, PNP_EN | PNP_MSC0 | PNP_MSC1, },
+ { NULL, W83627THG_ACPI, PNP_IRQ0, },
+ { NULL, W83627THG_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
};
static void enable_dev(struct device *dev)