patch-2.3.1 linux/drivers/net/3c527.c
Next file: linux/drivers/net/ibmtr.c
Previous file: linux/drivers/misc/parport_share.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed May 12 13:27:37 1999
- Orig file:
v2.3.0/linux/drivers/net/3c527.c
- Orig date:
Sun Mar 21 07:11:36 1999
diff -u --recursive --new-file v2.3.0/linux/drivers/net/3c527.c linux/drivers/net/3c527.c
@@ -102,7 +102,7 @@
u16 exec_pending;
u16 mc_reload_wait; /* a multicast load request is pending */
atomic_t tx_count; /* buffers left */
- struct wait_queue *event;
+ wait_queue_head_t event;
struct sk_buff *tx_skb[TX_RING_MAX]; /* Transmit ring */
u16 tx_skb_top;
u16 tx_skb_end;
@@ -411,6 +411,7 @@
lp->rx_chain = lp->exec_box->data[10];
lp->tx_len = lp->exec_box->data[9];
lp->rx_len = lp->exec_box->data[11];
+ init_waitqueue_head(&lp->event);
printk("%s: %d RX buffers, %d TX buffers. Base of 0x%08X.\n",
dev->name, lp->rx_len, lp->tx_len, lp->base);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)