Look for capi.conf in the path determined by configure at compile time
instead of the hard-coded /etc/capi.conf.
Beautification: replace 0 -> NULL in firmwarepath[] definition.
capifs is obsolete and scheduled for removal from the kernel. So stop
screaming if it is not there, udev with proper rules will take care.
At this chance, there is no need to retry loading it. If it failed once,
it will do so again.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Acked-By: Jan-Michael Brummer
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
called as "capiinit start" ist will load all modules, add all cards
configured in "/etc/capi.conf" and load the firmware to all active
cards. When called as "capiinit stop", it will deinit all cards and
remove all modules. Sample config in capiinit/capi.conf.