/* spider_net_cleanup_tx_ring is called by either the tx_timer or from the NAPI polling routine. This routine releases resources associted with transmitted packets, including updating the queue tail pointer.  */
static void spider_net_cleanup_tx_ring(struct spider_net_card *card)
/* spider_net_cleanup_tx_ring is called by either the tx_timer or from the NAPI polling routine. This routine releases resources associted with transmitted packets, including updating the queue tail pointer.  */
static void spider_net_cleanup_tx_ring(struct spider_net_card *card)
{
	if ((spider_net_release_tx_chain(card, 0) != 0) &&
	    (card->netdev->flags & IFF_UP)) {
		spider_net_kick_tx_dma(card);
		netif_wake_queue(card->netdev);
	}
}