summaryrefslogtreecommitdiff
path: root/etc/udev/suse/80-drivers.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-07-05 22:48:36 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-07-05 22:48:36 +0200
commit2e23125e112c0a56e1ccee193c2cfe0e26af1bad (patch)
treeb33661674275f02f9b1c85c867274372ab6d3589 /etc/udev/suse/80-drivers.rules
parent14c7994263150b01d7ffbf89969cf8e3df893dc8 (diff)
rules: SUSE update
Diffstat (limited to 'etc/udev/suse/80-drivers.rules')
-rw-r--r--etc/udev/suse/80-drivers.rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/udev/suse/80-drivers.rules b/etc/udev/suse/80-drivers.rules
new file mode 100644
index 0000000000..0351b11d32
--- /dev/null
+++ b/etc/udev/suse/80-drivers.rules
@@ -0,0 +1,13 @@
+ACTION!="add", GOTO="drivers_end"
+
+DRIVER!="?*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe --quiet $env{MODALIAS}"
+
+SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c 'while read id; do /sbin/modprobe --quiet pnp:d$$id; done < /sys$devpath/id'"
+
+SUBSYSTEM=="tifm", RUN+="/sbin/modprobe --quiet -all tifm_sd tifm_ms"
+SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block"
+SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi"
+SUBSYSTEM=="scsi_device", ATTRS{type}=="1", ATTR{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst"
+SUBSYSTEM=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe sg"
+
+LABEL="drivers_end"