patch-2.1.54 linux/drivers/net/ppp.c
Next file: linux/drivers/pci/pci.c
Previous file: linux/drivers/net/eepro100.c
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Sat Sep 6 10:05:42 1997
- Orig file:
v2.1.53/linux/drivers/net/ppp.c
- Orig date:
Tue May 13 22:41:09 1997
diff -u --recursive --new-file v2.1.53/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -521,7 +521,7 @@
extern inline int
lock_buffer (register struct ppp_buffer *buf)
{
- register int state;
+ register long state;
int flags;
/*
* Save the current state and if free then set it to the "busy" state
@@ -1071,6 +1071,7 @@
*/
if (ppp->flags & SC_LOG_RAWIN)
ppp_print_buffer ("receive buffer", data, count);
+
/*
* Collect the character and error condition for the character. Set the toss
* flag for the first character error.
@@ -1083,6 +1084,7 @@
ppp->toss = *flags;
++flags;
}
+
/*
* Set the flags for 8 data bits and no parity.
*
@@ -1467,6 +1469,7 @@
{
__u16 proto = PPP_PROTOCOL (data);
ppp_proto_type *proto_ptr;
+
/*
* Ignore empty frames
*/
@@ -1507,6 +1510,7 @@
int addr, ctrl, proto;
int new_count;
__u8 *new_data;
+
/*
* If there is a pending error from the receiver then log it and discard
* the damaged frame.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov