/* called, if tx hangs. Schedules a task that resets the interface  */
void gelic_net_tx_timeout(struct net_device *netdev)
/* called, if tx hangs. Schedules a task that resets the interface  */
void gelic_net_tx_timeout(struct net_device *netdev)
{
	struct gelic_card *card;
	card = netdev_card(netdev);
	atomic_inc(&card->tx_timeout_task_counter);
	if (netdev->flags & IFF_UP)
		schedule_work(&card->tx_timeout_task);
	else
		atomic_dec(&card->tx_timeout_task_counter);
}