pci_unmap_single(tp->pdev, tpl->DMABuff, tpl->Skb->len, PCI_DMA_TODEVICE); 
dma_unmap_single(tp->pdev, tpl->DMABuff, tpl->Skb->len, DMA_TO_DEVICE); 
static void tms380tr_cancel_tx_queue(struct net_local* tp){	TPL *tpl;	/*	 * NOTE: There must not be an active TRANSMIT command pending, when	 * this function is called.	 */	if(tp->TransmitCommandActive)		return;	for(;;)	{		tpl = tp->TplBusy;		if(!tpl->BusyFlag)			break;		/* "Remove" TPL from busy list. */		tp->TplBusy = tpl->NextTPLPtr;		tms380tr_write_tpl_status(tpl, 0);	/* Clear VALID bit */		tpl->BusyFlag = 0;		/* "free" TPL */		printk(KERN_INFO "Cancel tx (%08lXh).\n", (unsigned long)tpl);		if (tpl->DMABuff)			pci_unmap_single(tp->pdev, tpl->DMABuff, tpl->Skb->len, PCI_DMA_TODEVICE);		dev_kfree_skb_any(tpl->Skb);	}	return;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/504ff16cecf2a788181eddc9d6e47d94ce50a9f6/tms380tr.c/clean/drivers/net/tokenring/tms380tr.c