summaryrefslogtreecommitdiff
path: root/extras/mtd_probe/75-probe_mtd.rules
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mtd_probe/75-probe_mtd.rules')
-rw-r--r--extras/mtd_probe/75-probe_mtd.rules10
1 files changed, 10 insertions, 0 deletions
diff --git a/extras/mtd_probe/75-probe_mtd.rules b/extras/mtd_probe/75-probe_mtd.rules
new file mode 100644
index 0000000000..1d1b398175
--- /dev/null
+++ b/extras/mtd_probe/75-probe_mtd.rules
@@ -0,0 +1,10 @@
+#probe mtd devices for FTL
+
+ACTION!="add", GOTO="mtd_probe_end"
+
+KERNEL=="mtd*ro", IMPORT{program}="mtd_probe $tempnode"
+KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN+="/sbin/modprobe sm_ftl"
+
+
+LABEL="mtd_probe_end"
+