summaryrefslogtreecommitdiff
path: root/rules/80-drivers-modprobe.rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules/80-drivers-modprobe.rules')
-rw-r--r--rules/80-drivers-modprobe.rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/rules/80-drivers-modprobe.rules b/rules/80-drivers-modprobe.rules
new file mode 100644
index 0000000000..14c5b873bb
--- /dev/null
+++ b/rules/80-drivers-modprobe.rules
@@ -0,0 +1,13 @@
+# do not edit this file, it will be overwritten on update
+
+ACTION=="remove", GOTO="drivers_end"
+
+ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
+SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN+="/sbin/modprobe tifm_sd"
+SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", RUN+="/sbin/modprobe tifm_ms"
+SUBSYSTEM=="memstick", RUN+="/sbin/modprobe ms_block mspro_block"
+SUBSYSTEM=="i2o", RUN+="/sbin/modprobe i2o_block"
+SUBSYSTEM=="module", KERNEL=="parport_pc", RUN+="/sbin/modprobe ppdev"
+KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN+="/sbin/modprobe sm_ftl"
+
+LABEL="drivers_end"