patch-2.1.20 linux/drivers/net/pi2.c
Next file: linux/drivers/net/ppp.c
Previous file: linux/drivers/net/net_init.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Jan 2 15:13:25 1997
- Orig file:
v2.1.19/linux/drivers/net/pi2.c
- Orig date:
Mon Dec 30 15:39:09 1996
diff -u --recursive --new-file v2.1.19/linux/drivers/net/pi2.c linux/drivers/net/pi2.c
@@ -1400,9 +1400,9 @@
dev->get_stats = pi_get_stats;
/* Fill in the fields of the device structure */
- for (i = 0; i < DEV_NUMBUFFS; i++)
- skb_queue_head_init(&dev->buffs[i]);
+ dev_init_buffers(dev):
+
#if defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
dev->hard_header = ax25_encapsulate;
dev->rebuild_header = ax25_rebuild_header;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov