|
|
|
@ -3,25 +3,23 @@
|
|
|
|
|
ACTION!="add", GOTO="drivers_end" |
|
|
|
|
|
|
|
|
|
# hotplug |
|
|
|
|
ENV{MODALIAS}=="?*", RUN{ignore_error}+="/sbin/modprobe $env{MODALIAS}" |
|
|
|
|
DRIVER!="?*", ENV{MODALIAS}=="?*", RUN{ignore_error}+="/sbin/modprobe $env{MODALIAS}" |
|
|
|
|
|
|
|
|
|
SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN{ignore_error}+="/bin/sh -c 'while read id; do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'" |
|
|
|
|
SUBSYSTEM=="pnp", DRIVER!="?*", ENV{MODALIAS}!="?*", RUN{ignore_error}+="/bin/sh -c 'while read id; do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'" |
|
|
|
|
|
|
|
|
|
SUBSYSTEM=="tifm", RUN+="/sbin/modprobe --all tifm_sd tifm_ms" |
|
|
|
|
|
|
|
|
|
# scsi |
|
|
|
|
SUBSYSTEM=="scsi", ACTION=="add", ATTRS{type}=="0", RUN+="/sbin/modprobe sd_mod" |
|
|
|
|
|
|
|
|
|
SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod" |
|
|
|
|
SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", ATTR{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst" |
|
|
|
|
SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", RUN+="/sbin/modprobe st" |
|
|
|
|
SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="[45]", RUN+="/sbin/modprobe sr_mod" |
|
|
|
|
SUBSYSTEM=="scsi_device", ACTION=="add", TEST!="[module/sg]", RUN+="/sbin/modprobe sg" |
|
|
|
|
|
|
|
|
|
# mmc |
|
|
|
|
SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block" |
|
|
|
|
# ide |
|
|
|
|
SUBSYSTEM=="ide", ACTION=="add", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi" |
|
|
|
|
SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi" |
|
|
|
|
# scsi |
|
|
|
|
SUBSYSTEM=="scsi", ATTRS{type}=="0", RUN+="/sbin/modprobe sd_mod" |
|
|
|
|
|
|
|
|
|
# mmc |
|
|
|
|
SUBSYSTEM=="mmc", ACTION=="add", RUN+="/sbin/modprobe mmc_block" |
|
|
|
|
SUBSYSTEM=="scsi_device", ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod" |
|
|
|
|
SUBSYSTEM=="scsi_device", ATTRS{type}=="1", ATTR{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst" |
|
|
|
|
SUBSYSTEM=="scsi_device", ATTRS{type}=="1", RUN+="/sbin/modprobe st" |
|
|
|
|
SUBSYSTEM=="scsi_device", ATTRS{type}=="[45]", RUN+="/sbin/modprobe sr_mod" |
|
|
|
|
SUBSYSTEM=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe sg" |
|
|
|
|
|
|
|
|
|
LABEL="drivers_end" |
|
|
|
|