package/busybox: support automatic module loading with mdev
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 8 Mar 2016 23:03:25 +0000 (00:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 9 Mar 2016 22:07:44 +0000 (23:07 +0100)
commit07f46c2b6daec44a6176039c90be67e66c4c2e42
tree70f1e201293dbad587f2bc645a9354aafef2a4dc
parentcc2ded05bd588f29f8094db8f593e56f52f13299
package/busybox: support automatic module loading with mdev

A recently discussed on the mailing list:
http://lists.busybox.net/pipermail/buildroot/2016-February/154189.html

Our mdev configuration currently doesn't handle module loading. Fix that by:

- Telling mdev to run modprobe on hotplug events providing MODALIAS

- Adjust the init script to handle coldplug modalias events (E.G. modules
  for which the devices were already present before mdev was added as the
  hotplug handler). mdev -s should arguable handle this, but it doesn't.

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/busybox/S10mdev
package/busybox/mdev.conf