summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-01-10 01:14:34 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:15 -0700
commit40041ff4f1153360409ae88f0c0168ad2ee4d224 (patch)
tree45f63b571e803a03bc3efff6945e54fdc09564b8
parent41397661c625ece84c54d98d875d5afef4f829ff (diff)
[PATCH] added dri rule to the default config file.
-rw-r--r--etc/udev/udev.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules
index c2b50eb90d..68c0c63c89 100644
--- a/etc/udev/udev.rules
+++ b/etc/udev/udev.rules
@@ -51,3 +51,7 @@ CALLOUT, BUS="ide", PROGRAM="/bin/cat /proc/ide/%k/media", ID="cdrom", NAME="%k"
# device mapper creates its own device nodes
IGNORE, KERNEL="dm-[0-9]*"
+
+# DRI devices always go into a subdirectory (as per the LSB spec)
+REPLACE, KERNEL="card*", NAME="dri/card%n"
+