[PATCH] pcmcia: cs.c : load "pcmcia" module automatically.
Komuro
komurojun-mbn at nifty.com
Sat Oct 31 23:04:30 EDT 2009
load "pcmcia" module for 16-bit PCMCIA cards
without help of userland script.
Signed-off-by: Komuro <komurojun-mbn at nifty.com>
---
--- linux-2.6.32-rc5-git3/drivers/pcmcia/cs.c.orig 2009-11-01 11:50:57.000000000 +0900
+++ linux-2.6.32-rc5-git3/drivers/pcmcia/cs.c 2009-11-01 11:47:53.000000000 +0900
@@ -239,6 +239,9 @@ int pcmcia_register_socket(struct pcmcia
goto err;
}
+ /* loading "pcmcia" module for 16-bit PCMCIA cards */
+ request_module("pcmcia");
+
tsk = kthread_run(pccardd, socket, "pccardd");
if (IS_ERR(tsk)) {
ret = PTR_ERR(tsk);
More information about the linux-pcmcia
mailing list