aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pcmcia/Kconfig1
-rw-r--r--drivers/pcmcia/m8xx_pcmcia.c2
-rw-r--r--include/pcmcia/ss.h2
3 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig
index 7e9fd38e14fb..44b324b80e90 100644
--- a/drivers/pcmcia/Kconfig
+++ b/drivers/pcmcia/Kconfig
@@ -163,7 +163,6 @@ config PCMCIA_M8XX
163 tristate "MPC8xx PCMCIA support" 163 tristate "MPC8xx PCMCIA support"
164 depends on PCMCIA && PPC && 8xx 164 depends on PCMCIA && PPC && 8xx
165 select PCCARD_IODYN 165 select PCCARD_IODYN
166 select PCCARD_NONSTATIC
167 help 166 help
168 Say Y here to include support for PowerPC 8xx series PCMCIA 167 Say Y here to include support for PowerPC 8xx series PCMCIA
169 controller. 168 controller.
diff --git a/drivers/pcmcia/m8xx_pcmcia.c b/drivers/pcmcia/m8xx_pcmcia.c
index 7f79c4e169ae..3a1fe3ab2cd4 100644
--- a/drivers/pcmcia/m8xx_pcmcia.c
+++ b/drivers/pcmcia/m8xx_pcmcia.c
@@ -1233,7 +1233,7 @@ static int __init m8xx_probe(struct of_device *ofdev,
1233 socket[i].socket.io_offset = 0; 1233 socket[i].socket.io_offset = 0;
1234 socket[i].socket.pci_irq = pcmcia_schlvl; 1234 socket[i].socket.pci_irq = pcmcia_schlvl;
1235 socket[i].socket.ops = &m8xx_services; 1235 socket[i].socket.ops = &m8xx_services;
1236 socket[i].socket.resource_ops = &pccard_nonstatic_ops; 1236 socket[i].socket.resource_ops = &pccard_iodyn_ops;
1237 socket[i].socket.cb_dev = NULL; 1237 socket[i].socket.cb_dev = NULL;
1238 socket[i].socket.dev.parent = &ofdev->dev; 1238 socket[i].socket.dev.parent = &ofdev->dev;
1239 socket[i].pcmcia = pcmcia; 1239 socket[i].pcmcia = pcmcia;
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h
index b4e5cfd49ce1..1a4737933bf3 100644
--- a/include/pcmcia/ss.h
+++ b/include/pcmcia/ss.h
@@ -258,6 +258,8 @@ struct pcmcia_socket {
258 * - pccard_static_ops iomem and ioport areas are assigned statically 258 * - pccard_static_ops iomem and ioport areas are assigned statically
259 * - pccard_iodyn_ops iomem areas is assigned statically, ioport 259 * - pccard_iodyn_ops iomem areas is assigned statically, ioport
260 * areas dynamically 260 * areas dynamically
261 * If this option is selected, use
262 * "select PCCARD_IODYN" in Kconfig.
261 * - pccard_nonstatic_ops iomem and ioport areas are assigned dynamically. 263 * - pccard_nonstatic_ops iomem and ioport areas are assigned dynamically.
262 * If this option is selected, use 264 * If this option is selected, use
263 * "select PCCARD_NONSTATIC" in Kconfig. 265 * "select PCCARD_NONSTATIC" in Kconfig.