/* This function checks if there is any transmit descriptors available to queue more packet.  */
static int amd8111e_tx_queue_avail(struct amd8111e_priv *lp)
/* This function checks if there is any transmit descriptors available to queue more packet.  */
static int amd8111e_tx_queue_avail(struct amd8111e_priv *lp)
{
	int tx_index = lp->tx_idx & TX_BUFF_MOD_MASK;
	if (lp->tx_skbuff[tx_index])
		return -1;
	else
		return 0;
}