patch-2.4.3 linux/drivers/net/wan/hostess_sv11.c
Next file: linux/drivers/net/wan/lmc/lmc_main.c
Previous file: linux/drivers/net/wan/hdlc.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Mar 6 19:44:36 2001
- Orig file:
v2.4.2/linux/drivers/net/wan/hostess_sv11.c
- Orig date:
Sun Aug 13 14:57:35 2000
diff -u --recursive --new-file v2.4.2/linux/drivers/net/wan/hostess_sv11.c linux/drivers/net/wan/hostess_sv11.c
@@ -34,7 +34,7 @@
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/byteorder.h>
-#include "syncppp.h"
+#include <net/syncppp.h>
#include "z85230.h"
static int dma;
@@ -59,7 +59,7 @@
{
/* Drop the CRC - its not a good idea to try and negotiate it ;) */
skb_trim(skb, skb->len-2);
- skb->protocol=htons(ETH_P_WAN_PPP);
+ skb->protocol=__constant_htons(ETH_P_WAN_PPP);
skb->mac.raw=skb->data;
skb->dev=c->netdevice;
/*
@@ -67,6 +67,7 @@
* it right now.
*/
netif_rx(skb);
+ c->netdevice->last_rx = jiffies;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)