lkml.org 
[lkml]   [1998]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[trivial patch, updated] TTY Line Disciplines.
Date
From

tadavis@lbl.gov said:
> Uhm, how about the IrDA line discpline?
> since we are at getting official line discplines registered..

Here's an updated version of my original patch to synchronise ldisc
registrations across the architectures, with N_IRDA added, as requested.
Unfortunately tty-ldisc-8, which the IrDA people were using, has already been
taken, so I've given them tty-ldisc-11. Sorry.

Linus, could you please include this into 2.1.124, in preference to my previous
version, which only included R3964 and Profibus FDL.

This is not a violation of the code freeze - this is _only_ the ldisc number
registrations, and no attempt is made to provide any implementations of these
line disciplines at the moment. We would just like to establish the numbers to
use for them, to prevent a recurrence of the current situation where everyone
just adds one to the highest number in use, and we all end up using the same
number.

Aside from making them consistent, here's what I've added again, with a brief
note as to the implementation status of each, for those who are interested:

tty-ldisc-9: Simatic R3964 protocol
( http://www.llp.fu-berlin.de/pool/software/fastserial/ )
Status: Completed but not widely required, so never submitted to Linus


tty-ldisc-10: Profibus FDL ( http://www.profibus.com/ )
Status: Very preliminary. I've drawn up some plans and the company will
pay me to develop it.

tty-ldisc-11: IrDA ( http://www.cs.uit.no/~dagb/irda/irda.html )
Status: Alpha, see the web site for more.

tty-ldisc-12: SMS Block mode (for talking to GSM phones, see the GSM 2 spec.)
Status: A glint in my eye. The GSM spec is printing as I write this.


--- linux/include/asm-i386/termios.h.orig Wed Sep 30 00:15:14 1998
+++ linux/include/asm-i386/termios.h Thu Oct 1 19:45:20 1998
@@ -47,7 +47,11 @@
#define N_AX25 5
#define N_X25 6 /* X.25 async */
#define N_6PACK 7
-#define N_MASC 8 /* Reserved fo Mobitex module <kaz@cafe.net> */
+#define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */
+#define N_R3964 9 /* Reserved for Simatic R3964 module */
+#define N_PROFIBUS_FDL 10 /* Reserved for Profibus <Dave@mvhi.com> */
+#define N_IRDA 11 /* Linux IrDa - http://www.cs.uit.no/~dagb/irda/irda.html */
+#define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */

#ifdef __KERNEL__

--- linux/include/asm-mips/termios.h.orig Wed Sep 30 00:15:14 1998
+++ linux/include/asm-mips/termios.h Thu Oct 1 19:45:34 1998
@@ -93,6 +93,11 @@
#define N_AX25 5
#define N_X25 6 /* X.25 async */
#define N_6PACK 7
+#define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */
+#define N_R3964 9 /* Reserved for Simatic R3964 module */
+#define N_PROFIBUS_FDL 10 /* Reserved for Profibus <Dave@mvhi.com> */
+#define N_IRDA 11 /* Linux IrDa - http://www.cs.uit.no/~dagb/irda/irda.html */
+#define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */

#ifdef __KERNEL__

--- linux/include/asm-alpha/termios.h.orig Wed Sep 30 00:15:14 1998
+++ linux/include/asm-alpha/termios.h Thu Oct 1 19:46:22 1998
@@ -72,8 +72,13 @@
#define N_MOUSE 2
#define N_PPP 3
#define N_AX25 5
-#define N_X25 6
+#define N_X25 6 /* X.25 async */
#define N_6PACK 7
+#define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */
+#define N_R3964 9 /* Reserved for Simatic R3964 module */
+#define N_PROFIBUS_FDL 10 /* Reserved for Profibus <Dave@mvhi.com> */
+#define N_IRDA 11 /* Linux IrDa - http://www.cs.uit.no/~dagb/irda/irda.html */
+#define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */

#ifdef __KERNEL__
/* eof=^D eol=\0 eol2=\0 erase=del
--- linux/include/asm-m68k/termios.h.orig Wed Sep 30 00:15:14 1998
+++ linux/include/asm-m68k/termios.h Thu Oct 1 19:45:28 1998
@@ -55,7 +55,11 @@
#define N_AX25 5
#define N_X25 6 /* X.25 async */
#define N_6PACK 7
-#define N_MASC 8 /* Reserved fo Mobitex module <kaz@cafe.net> */
+#define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */
+#define N_R3964 9 /* Reserved for Simatic R3964 module */
+#define N_PROFIBUS_FDL 10 /* Reserved for Profibus <Dave@mvhi.com> */
+#define N_IRDA 11 /* Linux IrDa - http://www.cs.uit.no/~dagb/irda/irda.html */
+#define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */

#ifdef __KERNEL__

--- linux/include/asm-sparc/termios.h.orig Wed Sep 30 00:15:15 1998
+++ linux/include/asm-sparc/termios.h Thu Oct 1 19:45:44 1998
@@ -63,6 +63,11 @@
#define N_AX25 5
#define N_X25 6
#define N_6PACK 7
+#define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */
+#define N_R3964 9 /* Reserved for Simatic R3964 module */
+#define N_PROFIBUS_FDL 10 /* Reserved for Profibus <Dave@mvhi.com> */
+#define N_IRDA 11 /* Linux IrDa - http://www.cs.uit.no/~dagb/irda/irda.html */
+#define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */

#ifdef __KERNEL__

--- linux/include/asm-ppc/termios.h.orig Wed Sep 30 00:15:15 1998
+++ linux/include/asm-ppc/termios.h Thu Oct 1 19:45:39 1998
@@ -175,6 +175,15 @@
#define N_SLIP 1
#define N_MOUSE 2
#define N_PPP 3
+#define N_STRIP 4
+#define N_AX25 5
+#define N_X25 6 /* X.25 async */
+#define N_6PACK 7
+#define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */
+#define N_R3964 9 /* Reserved for Simatic R3964 module */
+#define N_PROFIBUS_FDL 10 /* Reserved for Profibus <Dave@mvhi.com> */
+#define N_IRDA 11 /* Linux IrDa - http://www.cs.uit.no/~dagb/irda/irda.html */
+#define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */

#ifdef __KERNEL__

--- linux/include/asm-sparc64/termios.h.orig Wed Sep 30 00:15:15 1998
+++ linux/include/asm-sparc64/termios.h Thu Oct 1 19:45:02 1998
@@ -63,6 +63,11 @@
#define N_AX25 5
#define N_X25 6
#define N_6PACK 7
+#define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */
+#define N_R3964 9 /* Reserved for Simatic R3964 module */
+#define N_PROFIBUS_FDL 10 /* Reserved for Profibus <Dave@mvhi.com> */
+#define N_IRDA 11 /* Linux IrDa - http://www.cs.uit.no/~dagb/irda/irda.html */
+#define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */

#ifdef __KERNEL__

--- linux/include/asm-arm/termios.h.orig Wed Sep 30 00:15:14 1998
+++ linux/include/asm-arm/termios.h Thu Oct 1 19:45:13 1998
@@ -55,6 +55,11 @@
#define N_AX25 5
#define N_X25 6 /* X.25 async */
#define N_6PACK 7
+#define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */
+#define N_R3964 9 /* Reserved for Simatic R3964 module */
+#define N_PROFIBUS_FDL 10 /* Reserved for Profibus <Dave@mvhi.com> */
+#define N_IRDA 11 /* Linux IrDa - http://www.cs.uit.no/~dagb/irda/irda.html */
+#define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */

#ifdef __KERNEL__
---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.
\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.031 / U:1.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site