patch-1.3.82 linux/drivers/net/ppp.c

Next file: linux/drivers/net/sdla.c
Previous file: linux/drivers/net/plip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.81/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -620,10 +620,10 @@
 
 	ppp->rbuf->size -= 80;	/* reserve space for vj header expansion */
 
-	dev->mem_start	= (__u32) buf_base (new_wbuf);
-	dev->mem_end	= (__u32) (dev->mem_start + mtu);
-	dev->rmem_start = (__u32) buf_base (new_rbuf);
-	dev->rmem_end	= (__u32) (dev->rmem_start + mru);
+	dev->mem_start	= (unsigned long) buf_base (new_wbuf);
+	dev->mem_end	= (unsigned long) (dev->mem_start + mtu);
+	dev->rmem_start = (unsigned long) buf_base (new_rbuf);
+	dev->rmem_end	= (unsigned long) (dev->rmem_start + mru);
 /*
  *  Update the parameters for the new buffer sizes
  */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this