chiark / gitweb /
rules: remove last WAIT_FOR_SYSFS, load ppdev, switch scsi_device
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 25 Mar 2008 12:32:22 +0000 (13:32 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 25 Mar 2008 12:32:22 +0000 (13:32 +0100)
etc/udev/rules.d/05-udev-early.rules [deleted file]
etc/udev/rules.d/80-drivers.rules

diff --git a/etc/udev/rules.d/05-udev-early.rules b/etc/udev/rules.d/05-udev-early.rules
deleted file mode 100644 (file)
index 4c3055b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# do not edit this file, it will be overwritten on update
-
-# sysfs is populated after the event is sent
-ACTION=="add", KERNEL=="[0-9]*:[0-9]*", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
-
index 5340565..881d758 100644 (file)
@@ -10,7 +10,8 @@ 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"
-SUBSYSTEM=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe sg"
+SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe sg"
+SUBSYSTEM=="module", KERNEL=="parport_pc", RUN+="/sbin/modprobe ppdev"
 
 LABEL="drivers_end"