summaryrefslogtreecommitdiff
path: root/src/superio
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
parenta2c49b02998a805e87acddbf11ccf2d4b311c8c2 (diff)
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')
-rw-r--r--src/superio/winbond/w83627dhg/superio.c31
-rw-r--r--src/superio/winbond/w83627ehg/superio.c37
-rw-r--r--src/superio/winbond/w83627hf/superio.c24
-rw-r--r--src/superio/winbond/w83627thg/superio.c23
-rw-r--r--src/superio/winbond/w83627uhg/superio.c31
-rw-r--r--src/superio/winbond/w83667hg-a/superio.c43
-rw-r--r--src/superio/winbond/w83697hf/superio.c21
-rw-r--r--src/superio/winbond/w83977tf/superio.c18
-rw-r--r--src/superio/winbond/wpcd376i/superio.c15
9 files changed, 128 insertions, 115 deletions
diff --git a/src/superio/winbond/w83627dhg/superio.c b/src/superio/winbond/w83627dhg/superio.c
index 4907435308..23b73a2dee 100644
--- a/src/superio/winbond/w83627dhg/superio.c
+++ b/src/superio/winbond/w83627dhg/superio.c
@@ -58,21 +58,22 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, W83627DHG_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83627DHG_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83627DHG_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627DHG_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627DHG_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, 0x07ff, },
- { &ops, W83627DHG_SPI, PNP_IO1, 0, 0x7f8, },
- { &ops, W83627DHG_GPIO6, },
- { &ops, W83627DHG_WDTO_PLED, },
- { &ops, W83627DHG_GPIO2, },
- { &ops, W83627DHG_GPIO3, },
- { &ops, W83627DHG_GPIO4, },
- { &ops, W83627DHG_GPIO5, },
- { &ops, W83627DHG_ACPI, PNP_IRQ0, },
- { &ops, W83627DHG_HWM, PNP_IO0 | PNP_IRQ0, 0x07fe, },
- { &ops, W83627DHG_PECI_SST, },
+ { NULL, W83627DHG_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83627DHG_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83627DHG_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627DHG_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627DHG_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1,
+ 0x07ff, 0x07ff, },
+ { NULL, W83627DHG_SPI, PNP_IO1, 0, 0x7f8, },
+ { NULL, W83627DHG_GPIO6, },
+ { NULL, W83627DHG_WDTO_PLED, },
+ { NULL, W83627DHG_GPIO2, },
+ { NULL, W83627DHG_GPIO3, },
+ { NULL, W83627DHG_GPIO4, },
+ { NULL, W83627DHG_GPIO5, },
+ { NULL, W83627DHG_ACPI, PNP_IRQ0, },
+ { NULL, W83627DHG_HWM, PNP_IO0 | PNP_IRQ0, 0x07fe, },
+ { NULL, W83627DHG_PECI_SST, },
};
static void enable_dev(struct device *dev)
diff --git a/src/superio/winbond/w83627ehg/superio.c b/src/superio/winbond/w83627ehg/superio.c
index 9d1eb3d512..db1f98efc1 100644
--- a/src/superio/winbond/w83627ehg/superio.c
+++ b/src/superio/winbond/w83627ehg/superio.c
@@ -122,24 +122,25 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, W83627EHG_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83627EHG_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83627EHG_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627EHG_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627EHG_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, 0x07ff, },
- { &ops, W83627EHG_SFI, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627EHG_WDTO_PLED, },
- { &ops, W83627EHG_ACPI, PNP_IRQ0, },
- { &ops, W83627EHG_HWM, PNP_IO0 | PNP_IRQ0, 0x07fe, },
-
- { &ops, W83627EHG_GAME, PNP_IO0, 0x07ff, },
- { &ops, W83627EHG_MIDI, PNP_IO1 | PNP_IRQ0, 0, 0x07fe, },
- { &ops, W83627EHG_GPIO1, },
- { &ops, W83627EHG_GPIO2, },
- { &ops, W83627EHG_GPIO3, },
- { &ops, W83627EHG_GPIO4, },
- { &ops, W83627EHG_GPIO5, },
- { &ops, W83627EHG_GPIO6, },
+ { NULL, W83627EHG_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83627EHG_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83627EHG_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627EHG_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627EHG_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1,
+ 0x07ff, 0x07ff, },
+ { NULL, W83627EHG_SFI, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627EHG_WDTO_PLED, },
+ { NULL, W83627EHG_ACPI, PNP_IRQ0, },
+ { NULL, W83627EHG_HWM, PNP_IO0 | PNP_IRQ0, 0x07fe, },
+
+ { NULL, W83627EHG_GAME, PNP_IO0, 0x07ff, },
+ { NULL, W83627EHG_MIDI, PNP_IO1 | PNP_IRQ0, 0, 0x07fe, },
+ { NULL, W83627EHG_GPIO1, },
+ { NULL, W83627EHG_GPIO2, },
+ { NULL, W83627EHG_GPIO3, },
+ { NULL, W83627EHG_GPIO4, },
+ { NULL, W83627EHG_GPIO5, },
+ { NULL, W83627EHG_GPIO6, },
};
static void enable_dev(struct device *dev)
diff --git a/src/superio/winbond/w83627hf/superio.c b/src/superio/winbond/w83627hf/superio.c
index 2ef5a5da6b..733dc359f4 100644
--- a/src/superio/winbond/w83627hf/superio.c
+++ b/src/superio/winbond/w83627hf/superio.c
@@ -129,17 +129,19 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, W83627HF_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83627HF_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83627HF_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627HF_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627HF_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, 0x07ff, },
- { &ops, W83627HF_CIR, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627HF_GAME_MIDI_GPIO1, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07ff, 0x07fe, },
- { &ops, W83627HF_GPIO2, },
- { &ops, W83627HF_GPIO3, },
- { &ops, W83627HF_ACPI, },
- { &ops, W83627HF_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
+ { NULL, W83627HF_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83627HF_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83627HF_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627HF_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627HF_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1,
+ 0x07ff, 0x07ff, },
+ { NULL, W83627HF_CIR, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627HF_GAME_MIDI_GPIO1, PNP_IO0 | PNP_IO1 | PNP_IRQ0,
+ 0x07ff, 0x07fe, },
+ { NULL, W83627HF_GPIO2, },
+ { NULL, W83627HF_GPIO3, },
+ { NULL, W83627HF_ACPI, },
+ { NULL, W83627HF_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
};
static void enable_dev(struct device *dev)
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)
diff --git a/src/superio/winbond/w83627uhg/superio.c b/src/superio/winbond/w83627uhg/superio.c
index cb7e4741f2..f68aec9b89 100644
--- a/src/superio/winbond/w83627uhg/superio.c
+++ b/src/superio/winbond/w83627uhg/superio.c
@@ -94,21 +94,22 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, W83627UHG_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83627UHG_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83627UHG_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627UHG_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627UHG_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, 0x07ff, },
- { &ops, W83627UHG_SP3, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627UHG_GPIO3_4, },
- { &ops, W83627UHG_WDTO_PLED_GPIO5_6, },
- { &ops, W83627UHG_GPIO1_2, },
- { &ops, W83627UHG_ACPI, PNP_IRQ0, },
- { &ops, W83627UHG_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
- { &ops, W83627UHG_PECI_SST, },
- { &ops, W83627UHG_SP4, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627UHG_SP5, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83627UHG_SP6, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627UHG_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83627UHG_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83627UHG_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627UHG_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627UHG_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1,
+ 0x07ff, 0x07ff, },
+ { NULL, W83627UHG_SP3, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627UHG_GPIO3_4, },
+ { NULL, W83627UHG_WDTO_PLED_GPIO5_6, },
+ { NULL, W83627UHG_GPIO1_2, },
+ { NULL, W83627UHG_ACPI, PNP_IRQ0, },
+ { NULL, W83627UHG_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
+ { NULL, W83627UHG_PECI_SST, },
+ { NULL, W83627UHG_SP4, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627UHG_SP5, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83627UHG_SP6, PNP_IO0 | PNP_IRQ0, 0x07f8, },
};
static void enable_dev(struct device *dev)
diff --git a/src/superio/winbond/w83667hg-a/superio.c b/src/superio/winbond/w83667hg-a/superio.c
index 1a3be44941..ceb783dee0 100644
--- a/src/superio/winbond/w83667hg-a/superio.c
+++ b/src/superio/winbond/w83667hg-a/superio.c
@@ -95,27 +95,28 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, W83667HG_A_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ff8, },
- { &ops, W83667HG_A_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ff8, },
- { &ops, W83667HG_A_SP1, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
- { &ops, W83667HG_A_SP2, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
- { &ops, W83667HG_A_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x0fff, 0x0fff, },
- { &ops, W83667HG_A_SPI1, PNP_IO1, 0, 0x0ff8},
- { &ops, W83667HG_A_WDT1},
- { &ops, W83667HG_A_ACPI},
- { &ops, W83667HG_A_HWM_TSI, PNP_IO0 | PNP_IRQ0, 0x0ffe, },
- { &ops, W83667HG_A_PECI},
- { &ops, W83667HG_A_VID_BUSSEL},
- { &ops, W83667HG_A_GPIO_PP_OD},
- { &ops, W83667HG_A_GPIO1},
- { &ops, W83667HG_A_GPIO2},
- { &ops, W83667HG_A_GPIO3},
- { &ops, W83667HG_A_GPIO4},
- { &ops, W83667HG_A_GPIO5},
- { &ops, W83667HG_A_GPIO6},
- { &ops, W83667HG_A_GPIO7},
- { &ops, W83667HG_A_GPIO8},
- { &ops, W83667HG_A_GPIO9},
+ { NULL, W83667HG_A_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ff8, },
+ { NULL, W83667HG_A_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ff8, },
+ { NULL, W83667HG_A_SP1, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
+ { NULL, W83667HG_A_SP2, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
+ { NULL, W83667HG_A_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1,
+ 0x0fff, 0x0fff, },
+ { NULL, W83667HG_A_SPI1, PNP_IO1, 0, 0x0ff8},
+ { NULL, W83667HG_A_WDT1},
+ { NULL, W83667HG_A_ACPI},
+ { NULL, W83667HG_A_HWM_TSI, PNP_IO0 | PNP_IRQ0, 0x0ffe, },
+ { NULL, W83667HG_A_PECI},
+ { NULL, W83667HG_A_VID_BUSSEL},
+ { NULL, W83667HG_A_GPIO_PP_OD},
+ { NULL, W83667HG_A_GPIO1},
+ { NULL, W83667HG_A_GPIO2},
+ { NULL, W83667HG_A_GPIO3},
+ { NULL, W83667HG_A_GPIO4},
+ { NULL, W83667HG_A_GPIO5},
+ { NULL, W83667HG_A_GPIO6},
+ { NULL, W83667HG_A_GPIO7},
+ { NULL, W83667HG_A_GPIO8},
+ { NULL, W83667HG_A_GPIO9},
};
static void enable_dev(struct device *dev)
diff --git a/src/superio/winbond/w83697hf/superio.c b/src/superio/winbond/w83697hf/superio.c
index e5e4e67800..0b63cd2773 100644
--- a/src/superio/winbond/w83697hf/superio.c
+++ b/src/superio/winbond/w83697hf/superio.c
@@ -77,16 +77,17 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, W83697HF_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83697HF_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83697HF_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83697HF_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83697HF_CIR, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83697HF_GAME_GPIO1, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07ff, 0x07fe, },
- { &ops, W83697HF_MIDI_GPIO5, },
- { &ops, W83697HF_GPIO234, },
- { &ops, W83697HF_ACPI, },
- { &ops, W83697HF_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
+ { NULL, W83697HF_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83697HF_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83697HF_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83697HF_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83697HF_CIR, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83697HF_GAME_GPIO1, PNP_IO0 | PNP_IO1 | PNP_IRQ0,
+ 0x07ff, 0x07fe, },
+ { NULL, W83697HF_MIDI_GPIO5, },
+ { NULL, W83697HF_GPIO234, },
+ { NULL, W83697HF_ACPI, },
+ { NULL, W83697HF_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
};
static void enable_dev(struct device *dev)
diff --git a/src/superio/winbond/w83977tf/superio.c b/src/superio/winbond/w83977tf/superio.c
index 8fb9075da0..b0c838e782 100644
--- a/src/superio/winbond/w83977tf/superio.c
+++ b/src/superio/winbond/w83977tf/superio.c
@@ -49,14 +49,16 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, W83977TF_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83977TF_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, W83977TF_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83977TF_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83977TF_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, 0x07ff, },
- { &ops, W83977TF_CIR, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, W83977TF_GAME_MIDI_GPIO1, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07ff, 0x07fe, },
- { &ops, W83977TF_ACPI, PNP_IRQ0, },
+ { NULL, W83977TF_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83977TF_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, W83977TF_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83977TF_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83977TF_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1,
+ 0x07ff, 0x07ff, },
+ { NULL, W83977TF_CIR, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, W83977TF_GAME_MIDI_GPIO1, PNP_IO0 | PNP_IO1 | PNP_IRQ0,
+ 0x07ff, 0x07fe, },
+ { NULL, W83977TF_ACPI, PNP_IRQ0, },
};
static void enable_dev(struct device *dev)
diff --git a/src/superio/winbond/wpcd376i/superio.c b/src/superio/winbond/wpcd376i/superio.c
index c18b9e57f8..7af5bcfb0a 100644
--- a/src/superio/winbond/wpcd376i/superio.c
+++ b/src/superio/winbond/wpcd376i/superio.c
@@ -55,13 +55,14 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, WPCD376I_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07fa, },
- { &ops, WPCD376I_LPT, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x04f8, },
- { &ops, WPCD376I_IR, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, 0x07f8, },
- { &ops, WPCD376I_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, WPCD376I_KBCM, PNP_IRQ0, },
- { &ops, WPCD376I_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07f8, 0x07f8, },
- { &ops, WPCD376I_GPIO, PNP_IO0 | PNP_IRQ0, 0xfff8, },
+ { NULL, WPCD376I_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07fa, },
+ { NULL, WPCD376I_LPT, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x04f8, },
+ { NULL, WPCD376I_IR, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1,
+ 0x07f8, },
+ { NULL, WPCD376I_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, WPCD376I_KBCM, PNP_IRQ0, },
+ { NULL, WPCD376I_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07f8, 0x07f8, },
+ { NULL, WPCD376I_GPIO, PNP_IO0 | PNP_IRQ0, 0xfff8, },
};
static void enable_dev(struct device *dev)