patch-2.1.20 linux/drivers/net/arcnet.c
Next file: linux/drivers/net/bpqether.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Jan 2 15:13:25 1997
- Orig file:
v2.1.19/linux/drivers/net/arcnet.c
- Orig date:
Tue Dec 31 21:41:02 1996
diff -u --recursive --new-file v2.1.19/linux/drivers/net/arcnet.c linux/drivers/net/arcnet.c
@@ -1308,11 +1308,10 @@
*
* Intelligent defaults?! Nah.
*/
+
void arcnet_setup(struct device *dev)
{
- int i;
- for (i=0; i<DEV_NUMBUFFS; i++)
- skb_queue_head_init(&dev->buffs[i]);
+ dev_init_buffers(dev);
dev->broadcast[0] = 0x00; /* for us, broadcasts are address 0 */
dev->addr_len = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov