/* et131x_init_send - Initialize send data structures @adapter: pointer to our private adapter structure  */
void et131x_init_send(struct et131x_adapter *adapter)
/* et131x_init_send - Initialize send data structures @adapter: pointer to our private adapter structure  */
void et131x_init_send(struct et131x_adapter *adapter)
{
	struct tcb *tcb;
	u32 ct;
	struct tx_ring *tx_ring;
	tx_ring = &adapter->tx_ring;
	tcb = adapter->tx_ring.tcb_ring;
	tx_ring->tcb_qhead = tcb;
	memset(tcb, 0, sizeof(struct tcb) * NUM_TCB);
	for (ct = 0; ct++ < NUM_TCB; tcb++)
		tcb->next = tcb + 1;
	tcb--;
	tx_ring->tcb_qtail = tcb;
	tcb->next = NULL;
	tx_ring->send_head = NULL;
	tx_ring->send_tail = NULL;
}