mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
pcmcia: autoload module pcmcia
Attempt to load the "pcmcia" module for 16-bit PCMCIA cards, so that PCMCIA support becomes available without pcmciautils/udev userspace interaction. Based on a suggestion and a patch Signed-off-by: Komuro <komurojun-mbn@nifty.com> but converted it to request_module_nowait() and move it to a later stage. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
55a19b39ac
commit
638bba55fe
1 changed files with 7 additions and 0 deletions
|
@ -243,6 +243,13 @@ int pcmcia_register_socket(struct pcmcia_socket *socket)
|
||||||
|
|
||||||
pcmcia_parse_events(socket, SS_DETECT);
|
pcmcia_parse_events(socket, SS_DETECT);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Let's try to get the PCMCIA module for 16-bit PCMCIA support.
|
||||||
|
* If it fails, it doesn't matter -- we still have 32-bit CardBus
|
||||||
|
* support to offer, so this is not a failure mode.
|
||||||
|
*/
|
||||||
|
request_module_nowait("pcmcia");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
|
|
Loading…
Reference in a new issue