chiark / gitweb /
[PATCH] add rules for i386 cpu devices.
[elogind.git] / etc / udev / udev.rules.gentoo
index 1a84baa9d4e5714b1f9d49c9d9355995e5979cb5..a2b878d4a376302b126910ef186434f3570525b2 100644 (file)
@@ -57,12 +57,11 @@ KERNEL="loop[0-9]*", NAME="loop/%n", SYMLINK="%k"
 KERNEL="md[0-9]*", NAME="md/%n", SYMLINK="%k"
 
 # misc devices
-KERNEL="rtc",     NAME="misc/%k", SYMLINK="%k"
-KERNEL="psaux",   NAME="misc/%k", SYMLINK="%k"
-KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k"
-KERNEL="rtc",     NAME="misc/%k", SYMLINK="%k"
-KERNEL="psaux",   NAME="misc/%k", SYMLINK="%k"
-KERNEL="uinput",  NAME="misc/%k", SYMLINK="%k"
+KERNEL="agpgart",   NAME="misc/%k", SYMLINK="%k"
+KERNEL="microcode", NAME="misc/%k", SYMLINK="%k"
+KERNEL="psaux",     NAME="misc/%k", SYMLINK="%k"
+KERNEL="rtc",       NAME="misc/%k", SYMLINK="%k"
+KERNEL="uinput",    NAME="misc/%k", SYMLINK="%k"
 
 # pty devices
 KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k"
@@ -129,4 +128,9 @@ KERNEL="capi*",             NAME="capi/%n"
 KERNEL="tun",          NAME="net/%k"
 
 # raw devices
-KERNEL="raw[0-9]*",     NAME="raw/%k" 
+KERNEL="raw[0-9]*",     NAME="raw/%k"
+
+# cpu devices
+KERNEL="cpu[0-9]*",    NAME="cpu/%n/cpuid"
+KERNEL="msr[0-9]*",    NAME="cpu/%n/cpuid"
+KERNEL="microcode",    NAME="cpu/microcode"