I made the following patch for the stallion non-intelligent driver based on
cut/paste from serial.c. I have tested it and it works, the directories
/dev/tte and /dev/cue are correctly created when the module is inserted.
Could this please be put in to 2.4.0-test8?
Please note that this patch is to be applied after the stallion.c file has
been moved from the drivers/media/video directory to the drivers/char
directory.
diff -ru old/drivers/char/stallion.c new/drivers/char/stallion.c
--- old/drivers/char/stallion.c Mon Sep 4 18:52:05 2000
+++ new/drivers/char/stallion.c Mon Sep 4 18:51:55 2000
@@ -138,8 +138,13 @@
static char *stl_drvtitle = "Stallion Multiport Serial Driver";
static char *stl_drvname = "stallion";
static char *stl_drvversion = "5.6.0";
+#if (LINUX_VERSION_CODE > 0x2032D && defined(CONFIG_DEVFS_FS))
+static char *stl_serialname = "tte/%d";
+static char *stl_calloutname = "cue/%d";
+#else
static char *stl_serialname = "ttyE";
static char *stl_calloutname = "cue";
+#endif
static struct tty_driver stl_serial;
static struct tty_driver stl_callout;
Russell Coker
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/