summaryrefslogtreecommitdiff
path: root/rules/rules.d/80-drivers.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-12-23 04:54:08 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-12-23 04:54:08 +0100
commit4a9460f15a8ff198d6a9c249bdd63572509e23bb (patch)
tree8c08f13da6b492484fe85ce41df09d63252f715c /rules/rules.d/80-drivers.rules
parent06316d9f1a91b4d3efdb7402e72498cb3deb1806 (diff)
rules: do not preprocess 80-drivers.rules + 75-probe_mtd.rules
Diffstat (limited to 'rules/rules.d/80-drivers.rules')
-rw-r--r--rules/rules.d/80-drivers.rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/rules/rules.d/80-drivers.rules b/rules/rules.d/80-drivers.rules
new file mode 100644
index 0000000000..38ebfeb0e6
--- /dev/null
+++ b/rules/rules.d/80-drivers.rules
@@ -0,0 +1,12 @@
+# do not edit this file, it will be overwritten on update
+
+ACTION=="remove", GOTO="drivers_end"
+
+DRIVER!="?*", ENV{MODALIAS}=="?*", IMPORT{builtin}="kmod load $env{MODALIAS}"
+SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", IMPORT{builtin}="kmod load tifm_sd"
+SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", IMPORT{builtin}="kmod load tifm_ms"
+SUBSYSTEM=="memstick", IMPORT{builtin}="kmod load ms_block mspro_block"
+SUBSYSTEM=="i2o", IMPORT{builtin}="kmod load i2o_block"
+SUBSYSTEM=="module", KERNEL=="parport_pc", IMPORT{builtin}="kmod load ppdev"
+
+LABEL="drivers_end"