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

Dominik Brodowski linux at dominikbrodowski.net
Sun Nov 1 12:47:38 EST 2009


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.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



More information about the linux-pcmcia mailing list