summaryrefslogtreecommitdiff
path: root/udev.rules.demo
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2003-12-16 23:36:19 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:08 -0700
commitd94df232423870641132b307d74281f692219730 (patch)
tree8706b9c988b67daee930052e0855ca613735c104 /udev.rules.demo
parent600ee7f73e5381764803725e68a0f953bd2f46fd (diff)
[PATCH] don't rely on field order in namedev_parse
o change the parsing to get a key from the rule and sort it into our list of known keys instead of expecting a special order o the key to match a sysfs file must be prependend by 'SYSFS_' now to match with the new parsing. (The config must be changed, but it's a bit more descriptive too.) o put names of fields in define's, like the name of the methods o update all tests and the man page
Diffstat (limited to 'udev.rules.demo')
-rw-r--r--udev.rules.demo4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev.rules.demo b/udev.rules.demo
index 6426ce2090..9ea7895791 100644
--- a/udev.rules.demo
+++ b/udev.rules.demo
@@ -1,8 +1,8 @@
# USB camera from Fuji to be named "camera"
-LABEL, BUS="usb", vendor="FUJIFILM", NAME="camera%n"
+LABEL, BUS="usb", SYSFS_vendor="FUJIFILM", NAME="camera%n"
# USB device plugged into the fourth port of the second hub to be called gps_device
-TOPOLOGY, BUS="usb", place="2.4", NAME="gps_device"
+TOPOLOGY, BUS="usb", PLACE="2.4", NAME="gps_device"
# ttyUSB1 should always be called visor
REPLACE, KERNEL="ttyUSB1", NAME="visor"