Hi Ralf,
the patch below removes two no longer needed LINUX_VERSION_CODE from
arch/mips/au1000/common/serial.c (not needed since CONFIG_DEVFS_FS is
never defined on 2.2 kernels). It applies against 2.5.55 and current
MIPS cvs.
cu
Adrian
--- linux-2.5.55/arch/mips/au1000/common/serial.c.old 2003-01-10 10:56:15.000000000 +0100
+++ linux-2.5.55/arch/mips/au1000/common/serial.c 2003-01-10 10:57:08.000000000 +0100
@@ -2588,7 +2588,7 @@
memset(&serial_driver, 0, sizeof(struct tty_driver));
serial_driver.magic = TTY_DRIVER_MAGIC;
serial_driver.driver_name = "serial";
-#if (LINUX_VERSION_CODE > 0x2032D && defined(CONFIG_DEVFS_FS))
+#if defined(CONFIG_DEVFS_FS)
serial_driver.name = "tts/%d";
#else
serial_driver.name = "ttyS";
@@ -2632,7 +2632,7 @@
* major number and the subtype code.
*/
callout_driver = serial_driver;
-#if (LINUX_VERSION_CODE > 0x2032D && defined(CONFIG_DEVFS_FS))
+#if defined(CONFIG_DEVFS_FS)
callout_driver.name = "cua/%d";
#else
callout_driver.name = "cua";
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:32 EST