[PATCH] pcmcia: cs.c : load "pcmcia" module automatically.

Komuro komurojun-mbn at nifty.com
Mon Nov 2 07:37:51 EST 2009


Hi,

This patch integrates some of the pcmciautils feature into the kernel.


>
>As I'm a bit unsure about it: what's the general feeling about
>this patch?
>
>On Sun, Nov 01, 2009 at 12:04:30PM +0900, Komuro wrote:
>> 
>> 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.0000
00000 +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




More information about the linux-pcmcia mailing list