aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/m8xx_pcmcia.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2005-12-07 06:32:20 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2006-01-05 18:27:43 -0500
commit3b27e9421a1433689704fe0a02e926d4ba971121 (patch)
treec3ca9e3e929da1c48ce5d8e9fa6d0257b5b900f5 /drivers/pcmcia/m8xx_pcmcia.c
parentefe3cd105f2a19e72ce9280bb22c7c80752e4314 (diff)
[PATCH] pcmcia: properly handle static mem, but dynamic io sockets
Some PCMCIA sockets have statically mapped memory windows, but dynamically mapped IO windows. Using the "nonstatic" socket library is inpractical for them, as they do neither need a resource database (as we can trust the kernel resource database on m68k and ppc) nor lots of other features of that library. Let them get a small "iodyn" socket library (105 lines of code) instead. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/m8xx_pcmcia.c')
-rw-r--r--drivers/pcmcia/m8xx_pcmcia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/m8xx_pcmcia.c b/drivers/pcmcia/m8xx_pcmcia.c
index a7f27c3dfc24..570e4e868b24 100644
--- a/drivers/pcmcia/m8xx_pcmcia.c
+++ b/drivers/pcmcia/m8xx_pcmcia.c
@@ -1232,7 +1232,7 @@ static int __init m8xx_init(void)
1232 socket[i].socket.io_offset = 0; 1232 socket[i].socket.io_offset = 0;
1233 socket[i].socket.pci_irq = i ? 7 : 9; 1233 socket[i].socket.pci_irq = i ? 7 : 9;
1234 socket[i].socket.ops = &m8xx_services; 1234 socket[i].socket.ops = &m8xx_services;
1235 socket[i].socket.resource_ops = &pccard_nonstatic_ops; 1235 socket[i].socket.resource_ops = &pccard_iodyn_ops;
1236 socket[i].socket.cb_dev = NULL; 1236 socket[i].socket.cb_dev = NULL;
1237 socket[i].socket.dev.dev = &m8xx_device.dev; 1237 socket[i].socket.dev.dev = &m8xx_device.dev;
1238 } 1238 }