SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
# only needed for kernels < 2.6.16
SUBSYSTEM=="net", WAIT_FOR_SYSFS="address"
+# only needed for kernels < 2.6.17
+SUBSYSTEM=="net", ENV{PHYSDEVDRIVER}=="?*", WAIT_FOR_SYSFS="device/driver"
# default permissions for block devices
SUBSYSTEM=="block", GROUP="disk"
# usb devices
BUS=="usb", IMPORT{program}="usb_id -x"
-BUS=="usb", SYSFS{bInterfaceClass}="03", SYSFS{bInterfaceProtocol}="01", \
+BUS=="usb", SYSFS{bInterfaceClass}=="03", SYSFS{bInterfaceProtocol}=="01", \
ENV{ID_CLASS}="kbd"
-BUS=="usb", SYSFS{bInterfaceClass}="03", SYSFS{bInterfaceProtocol}="02", \
+BUS=="usb", SYSFS{bInterfaceClass}=="03", SYSFS{bInterfaceProtocol}=="02", \
ENV{ID_CLASS}="mouse"
# by-id links, generic and for the event devices
IMPORT{program}="edd_id --export $tempnode"
# find the physical path of the device
-KERNEL=="*[!0-9]|sr*|st*", ENV{ID_TYPE}=="?*", \
- IMPORT{program}="path_id $devpath"
+KERNEL=="*[!0-9]|sr*|st*", IMPORT{program}="path_id $devpath"
# import the variables of partitions from the parent disks
KERNEL=="*[0-9]", IMPORT{parent}="ID_*"