[OpenWrt-Devel] How to pass argument while autoloading kernel module/driver

Pratik Prajapati pratik.prajapati12 at gmail.com
Tue Jun 28 09:39:45 EDT 2016


Hi,

I want to pass an argument to one of the driver, but couldn't found any
example for it.
I know that argument can be passed in /etc/modules.d/<file> but I don't
know what should I write and where, before building OpenWrt so that, that
option  gets reflected in /etc/modules.d/<file> and it will have content:
<driver> <arg>

I tried adding argument in modules.mk flle like this, but no luck
AUTOLOAD:=$(call AutoLoad,31,<driver>/"<arg>=<value>")

Please share How can I fix this or some useful links.

Best Regards,
Pratik Prajapati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160628/9c011947/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list