load "pcmcia" module for 16-bit PCMCIA cards
without help of userland script.


Signed-off-by: Komuro <komurojun-...@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);

_______________________________________________
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia

Reply via email to