rules: add memstick module loading
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 19 Sep 2007 22:46:44 +0000 (00:46 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 19 Sep 2007 22:46:44 +0000 (00:46 +0200)
etc/udev/rules.d/80-drivers.rules

index 3388266..5340565 100644 (file)
@@ -6,6 +6,7 @@ DRIVER!="?*", ENV{MODALIAS}=="?*", RUN{ignore_error}+="/sbin/modprobe $env{MODAL
 SUBSYSTEM=="pnp", DRIVER!="?*", ENV{MODALIAS}!="?*", \
   RUN{ignore_error}+="/bin/sh -c '/sbin/modprobe -a $$(while read id; do echo pnp:d$$id; done < /sys$devpath/id)'"
 SUBSYSTEM=="tifm", RUN+="/sbin/modprobe --all tifm_sd tifm_ms"
+SUBSYSTEM=="memstick", RUN+="/sbin/modprobe --all ms_block mspro_block"
 SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block"
 SUBSYSTEM=="i2o", RUN+="/sbin/modprobe i2o_block"
 SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi"