linux-2.3.24pre3: N_SYNC_PPP undefined in drivers/net/ppp_synctty.c

Adam J. Richter (adam@yggdrasil.com)
Wed, 27 Oct 1999 16:43:06 -0700


References to the undefined symbol N_SYNC_PPP were added in
linux-2.3.24pre3, presumably the result of an incomplete patch.
I think the fix is to add "#define N_SYNC_PPP 14" to
include/asm-*/termios.h. Here is a proposed patch.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."

--- /tmp/linux/include/asm-alpha/termios.h Wed Oct 27 09:42:00 1999
+++ linux/include/asm-alpha/termios.h Wed Oct 27 09:40:20 1999
@@ -80,6 +80,7 @@
#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 */
#define N_HDLC 13 /* synchronous HDLC */
+#define N_SYNC_PPP 14

#ifdef __KERNEL__
/* eof=^D eol=\0 eol2=\0 erase=del
--- /tmp/linux/include/asm-arm/termios.h Wed Oct 27 09:42:00 1999
+++ linux/include/asm-arm/termios.h Wed Oct 27 09:40:17 1999
@@ -63,6 +63,7 @@
#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 */
#define N_HDLC 13 /* synchronous HDLC */
+#define N_SYNC_PPP 14

#ifdef __KERNEL__

--- /tmp/linux/include/asm-i386/termios.h Wed Oct 27 09:42:00 1999
+++ linux/include/asm-i386/termios.h Wed Oct 27 09:39:36 1999
@@ -53,6 +53,7 @@
#define N_IRDA 11 /* Linux IR - 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 */
#define N_HDLC 13 /* synchronous HDLC */
+#define N_SYNC_PPP 14

#ifdef __KERNEL__

--- /tmp/linux/include/asm-m68k/termios.h Wed Oct 27 09:42:00 1999
+++ linux/include/asm-m68k/termios.h Wed Oct 27 09:39:54 1999
@@ -61,6 +61,7 @@
#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 */
#define N_HDLC 13 /* synchronous HDLC */
+#define N_SYNC_PPP 14

#ifdef __KERNEL__

--- /tmp/linux/include/asm-mips/termios.h Wed Oct 27 09:42:00 1999
+++ linux/include/asm-mips/termios.h Wed Oct 27 09:39:51 1999
@@ -99,6 +99,7 @@
#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 */
#define N_HDLC 13 /* synchronous HDLC */
+#define N_SYNC_PPP 14

#ifdef __KERNEL__

--- /tmp/linux/include/asm-ppc/termios.h Wed Oct 27 09:42:00 1999
+++ linux/include/asm-ppc/termios.h Wed Oct 27 09:39:48 1999
@@ -185,6 +185,7 @@
#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 */
#define N_HDLC 13 /* synchronous HDLC */
+#define N_SYNC_PPP 14

#ifdef __KERNEL__

--- /tmp/linux/include/asm-sh/termios.h Wed Oct 27 09:42:00 1999
+++ linux/include/asm-sh/termios.h Wed Oct 27 09:39:45 1999
@@ -53,6 +53,7 @@
#define N_IRDA 11 /* Linux IR - 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 */
#define N_HDLC 13 /* synchronous HDLC */
+#define N_SYNC_PPP 14

#ifdef __KERNEL__

--- /tmp/linux/include/asm-sparc/termios.h Wed Oct 27 09:42:00 1999
+++ linux/include/asm-sparc/termios.h Wed Oct 27 09:40:14 1999
@@ -69,6 +69,7 @@
#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 */
#define N_HDLC 13 /* synchronous HDLC */
+#define N_SYNC_PPP 14

#ifdef __KERNEL__

--- /tmp/linux/include/asm-sparc64/termios.h Wed Oct 27 09:42:00 1999
+++ linux/include/asm-sparc64/termios.h Wed Oct 27 09:39:41 1999
@@ -69,6 +69,7 @@
#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 */
#define N_HDLC 13 /* synchronous HDLC */
+#define N_SYNC_PPP 14

#ifdef __KERNEL__

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/