[lkml]   [2000]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subjectstallion.c patch for devfs
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

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";
static char *stl_serialname = "ttyE";
static char *stl_calloutname = "cue";

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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:39    [W:0.070 / U:1.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site