summaryrefslogtreecommitdiff
path: root/sys-apps/modutils/files/modutils-2.4.27-alias.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/modutils/files/modutils-2.4.27-alias.patch')
-rw-r--r--sys-apps/modutils/files/modutils-2.4.27-alias.patch86
1 files changed, 86 insertions, 0 deletions
diff --git a/sys-apps/modutils/files/modutils-2.4.27-alias.patch b/sys-apps/modutils/files/modutils-2.4.27-alias.patch
new file mode 100644
index 000000000000..1fefffb62f85
--- /dev/null
+++ b/sys-apps/modutils/files/modutils-2.4.27-alias.patch
@@ -0,0 +1,86 @@
+Taken from Debian.
+
+Update misc alias cruft.
+
+--- util/alias.h
++++ util/alias.h
+@@ -52,7 +52,11 @@
+ "binfmt--310 binfmt_java",
+
+ "block-major-1 rd",
++#if defined(__s390__) || defined(__s390x__) || defined(__ia64__) || defined(__powerpc__)
++ "block-major-2 off",
++#else
+ "block-major-2 floppy",
++#endif
+ "block-major-3 ide-probe-mod",
+ "block-major-7 loop",
+ "block-major-8 sd_mod",
+@@ -107,6 +111,7 @@
+ /* /dev/sunmouse Sun mouse */
+ /* /dev/beep Fancy beep device */
+ /* /dev/modreq Kernel module load request */
++ "char-major-10-116 snd",
+ "char-major-10-130 wdt", /* /dev/watchdog Watchdog timer port */
+ "char-major-10-131 wdt", /* /dev/temperature Machine internal temperature */
+ /* /dev/hwtrap Hardware fault trap */
+@@ -116,7 +121,11 @@
+ "char-major-10-144 nvram", /* from Tigran Aivazian <tigran@sco.COM> */
+ "char-major-10-157 applicom", /* from David Woodhouse <dwmw2@infradead.org> */
+ "char-major-10-175 agpgart", /* /dev/agpgart GART AGP mapping access */
++ "char-major-10-181 toshiba",
++ "char-major-10-183 hw_random",
+ "char-major-10-184 microcode", /* Tigran Aivazian <tigran@veritas.com> */
++ "char-major-10-187 irnet",
++ "char-major-10-189 ussp",
+ "char-major-10-200 tun", /* Universal TUN/TAP device driver */
+ "char-major-10-250 hci_vhci",
+
+@@ -179,6 +203,11 @@
+ /* next two from <dairiki@matthews.dairiki.org> Thanks! */
+ "net-pf-17 af_packet",
+ "net-pf-19 off", /* acorn econet */
++ "net-pf-20 atm",
++ "net-pf-23 irda",
++ "net-pf-24 pppoe",
++ "net-pf-25 wanrouter",
++ "net-pf-26 llc",
+
+ "net-pf-31 bluez",
+
+@@ -199,6 +228,10 @@
+ "bt-proto-2 sco",
+ "bt-proto-3 rfcomm",
+ "bt-proto-4 bnep",
++ "bt-proto-5 cmtp",
++ "bt-proto-6 hidp",
++ "bt-proto-7 avdtp",
++
+
+ "plip0 plip",
+ "plip1 plip",
+@@ -228,6 +261,7 @@
+ "ppp-compress-21 bsd_comp",
+ "ppp-compress-24 ppp_deflate",
+ "ppp-compress-26 ppp_deflate",
++ "ppp ppp_async", /* for 2.4 */
+
+ #ifndef __sparc__
+ "parport_lowlevel parport_pc",
+@@ -271,9 +305,6 @@
+ */
+ char *above[] =
+ {
+- "hid keybdev mousedev",
+- "usbmouse hid",
+- "wacom evdev",
+ NULL /* marks the end of the list! */
+ };
+
+@@ -284,7 +315,6 @@
+ */
+ char *below[] =
+ {
+- "ov518_decomp ov511",
+ NULL /* marks the end of the list! */
+ };