diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-12-07 12:32:20 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-06 00:27:43 +0100 |
commit | 3b27e9421a1433689704fe0a02e926d4ba971121 (patch) | |
tree | c3ca9e3e929da1c48ce5d8e9fa6d0257b5b900f5 /drivers/pcmcia/m8xx_pcmcia.c | |
parent | efe3cd105f2a19e72ce9280bb22c7c80752e4314 (diff) | |
download | linux-3b27e9421a1433689704fe0a02e926d4ba971121.tar.gz linux-3b27e9421a1433689704fe0a02e926d4ba971121.tar.bz2 linux-3b27e9421a1433689704fe0a02e926d4ba971121.zip |
[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.c | 2 |
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) socket[i].socket.io_offset = 0; socket[i].socket.pci_irq = i ? 7 : 9; socket[i].socket.ops = &m8xx_services; - socket[i].socket.resource_ops = &pccard_nonstatic_ops; + socket[i].socket.resource_ops = &pccard_iodyn_ops; socket[i].socket.cb_dev = NULL; socket[i].socket.dev.dev = &m8xx_device.dev; } |