summaryrefslogtreecommitdiff
path: root/src/grp-udev/rules/80-drivers.rules
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-13 18:25:48 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-13 18:25:48 -0400
commit838b0fdf110b156508045589d685fc5f13e99e4e (patch)
tree7e89c40034244da0984d0f5dccc58c8acaf2031a /src/grp-udev/rules/80-drivers.rules
parent5496aef5f410ca665c76fb1bbfb584c7925fd49e (diff)
./tools/notsd-move
Diffstat (limited to 'src/grp-udev/rules/80-drivers.rules')
-rw-r--r--src/grp-udev/rules/80-drivers.rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/grp-udev/rules/80-drivers.rules b/src/grp-udev/rules/80-drivers.rules
new file mode 100644
index 0000000000..8551f47a4b
--- /dev/null
+++ b/src/grp-udev/rules/80-drivers.rules
@@ -0,0 +1,13 @@
+# do not edit this file, it will be overwritten on update
+
+ACTION=="remove", GOTO="drivers_end"
+
+ENV{MODALIAS}=="?*", RUN{builtin}+="kmod load $env{MODALIAS}"
+SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN{builtin}+="kmod load tifm_sd"
+SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", RUN{builtin}+="kmod load tifm_ms"
+SUBSYSTEM=="memstick", RUN{builtin}+="kmod load ms_block mspro_block"
+SUBSYSTEM=="i2o", RUN{builtin}+="kmod load i2o_block"
+SUBSYSTEM=="module", KERNEL=="parport_pc", RUN{builtin}+="kmod load ppdev"
+KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN{builtin}+="kmod load sm_ftl"
+
+LABEL="drivers_end"