Hi, also your patch looks useful. However I'm not sure if it would simply my use case. In fact with your patch I should create a new config file for each module, while in my opinion it is enough to defined the parameters in the Makefile (module parameters are not likely to be changed often).
Bye R. ----- "Frédéric Moulins" <[EMAIL PROTECTED]> ha scritto: > 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 -- -------------------------------------------------------- Roberto Riggio, PhD CREATE-NET Via alla Cascata 56/C 38100 Trento (Italy) E-mail: [EMAIL PROTECTED] HomePage: http://disi.unitn.it/~riggio/ Tel: +39.0461.314.960 Fax: +39.0461.314.972 -------------------------------------------------------- _______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
