Hello,

maybe the following patch will interest you :
http://lists.openwrt.org/pipermail/openwrt-devel/2008-June/002609.html

It allows to configure kernel modules parameters from uci config files.

Also take a look at the reply, there is a patch for uci needed for the
moment.


fred

On Sun, 3 Aug 2008 11:29:52 +0200 (CEST)
Roberto Riggio <[EMAIL PROTECTED]> wrote:

> This patch allows to specify parameters to kernel modules in the
> autoload function using the char '/' as separator. 
> 
> E.g. from madwifi Makefile:
> 
> MADWIFI_AUTOLOAD+= ath_pci/autocreate=none
> 
> --
> Index: include/kernel.mk
> ===================================================================
> --- include/kernel.mk (revisione 12076)
> +++ include/kernel.mk (copia locale)
> @@ -76,7 +76,7 @@
>                       for mod in $$$$$$$$2; do \
>                               getvar mod; \
>                       done \
> -             ) > $(2)/etc/modules.d/$$$$$$$$1-$(1); \
> +             ) | sed -e 's|/| |g' >
> $(2)/etc/modules.d/$$$$$$$$1-$(1); \
> modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$1-$(1)"; \ }; \
>       $(3) \
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to