mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
674c3412bb
commit 2599cabd36770785a13bf884049d649d385fd80c Author: Maxim Levitsky <maximlevitsky@gmail.com> Date: Fri Jun 18 02:08:48 2010 +0300 Add autodetection for xD/smartmedia cards This can easily be extended for other types of FTL Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
11 lines
221 B
Plaintext
11 lines
221 B
Plaintext
#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"
|
|
|