summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-08-13 04:22:21 +0200
committerKay Sievers <kay.sievers@suse.de>2006-08-13 04:22:21 +0200
commit9a8ad783a48791c5eaa35697d0a4befd705085fd (patch)
tree4fe1da5d7be68b72f344fafbdf290ad67c54628c /etc
parentd146fa8f722a570f530a2f7da7ac181124b8df73 (diff)
update Fedora rules
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/redhat/05-udev-early.rules1
-rw-r--r--etc/udev/redhat/50-udev.rules12
2 files changed, 8 insertions, 5 deletions
diff --git a/etc/udev/redhat/05-udev-early.rules b/etc/udev/redhat/05-udev-early.rules
index 9a96b6a198..970feb853b 100644
--- a/etc/udev/redhat/05-udev-early.rules
+++ b/etc/udev/redhat/05-udev-early.rules
@@ -1,6 +1,7 @@
# sysfs is populated after the event is sent
ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus"
ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address"
+ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
# ignore these events until someone needs them
SUBSYSTEM=="drivers", OPTIONS="ignore_device"
diff --git a/etc/udev/redhat/50-udev.rules b/etc/udev/redhat/50-udev.rules
index 04541a55f0..64c91fc5cb 100644
--- a/etc/udev/redhat/50-udev.rules
+++ b/etc/udev/redhat/50-udev.rules
@@ -28,7 +28,8 @@ KERNEL=="pty/m*", NAME="%k", GROUP="tty", MODE="0660", OPTIONS="last_rule"
KERNEL=="ippp*", NAME="%k", MODE="0660"
KERNEL=="isdn*", NAME="%k", MODE="0660"
KERNEL=="isdnctrl*", NAME="%k", MODE="0660"
-KERNEL=="capi*", NAME="%k", MODE="0660"
+KERNEL=="capi", NAME="capi20", GROUP="uucp", MODE="0660"
+KERNEL=="capi*", NAME="capi/%n", GROUP="uucp", MODE="0660"
KERNEL=="dcbri*", NAME="%k", MODE="0660"
KERNEL=="ircomm*", NAME="%k", GROUP="uucp", MODE="0660"
KERNEL=="tts/[0-9]*", NAME="%k", GROUP="uucp", MODE="0660"
@@ -217,8 +218,11 @@ KERNEL=="fd[0-9]*", SYMLINK+="floppy-%k"
KERNEL=="nst[0-9]", BUS=="scsi", SYMLINK+="tape-%k", MODE="0660"
KERNEL=="nosst[0-9]", BUS=="scsi", SYMLINK+="tape-%k", MODE="0660"
-KERNEL=="umad*", NAME="infiniband/%k"
-KERNEL=="issm*", NAME="infiniband/%k"
+KERNEL=="umad*", NAME="infiniband/%k", MODE="0660"
+KERNEL=="issm*", NAME="infiniband/%k", MODE="0660"
+KERNEL=="uverbs*", NAME="infiniband/%k", MODE="0660"
+KERNEL=="ucm*", NAME="infiniband/%k", MODE="0660"
+KERNEL=="rdma_cm", NAME="infiniband/%k", MODE="0660"
# Section for zaptel device
KERNEL=="zapctl", NAME="zap/ctl"
@@ -229,8 +233,6 @@ KERNEL=="zap[0-9]*", NAME="zap/%n"
KERNEL=="pktcdvd", NAME="%k/control"
-
-
KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", \
SYSFS{device/media}=="floppy", \
SYMLINK+="floppy floppy-%k", OPTIONS+="ignore_remove, all_partitions"