if (dev) { pci_free_consistent(db->pdev, sizeof(struct tx_desc) * DESC_ALL_CNT + 0x20, db->desc_pool_ptr, db->desc_pool_dma_ptr); pci_free_consistent(db->pdev, TX_BUF_ALLOC * TX_DESC_CNT + 4, db->buf_pool_ptr, db->buf_pool_dma_ptr); unregister_netdev(dev); pci_release_regions(pdev); free_netdev(dev);	/* free board information */ pci_set_drvdata(pdev, NULL); }  
pci_free_consistent(db->pdev, sizeof(struct tx_desc) * DESC_ALL_CNT + 0x20, db->desc_pool_ptr, db->desc_pool_dma_ptr); pci_free_consistent(db->pdev, TX_BUF_ALLOC * TX_DESC_CNT + 4, db->buf_pool_ptr, db->buf_pool_dma_ptr); unregister_netdev(dev); pci_release_regions(pdev); free_netdev(dev);	/* free board information */ pci_set_drvdata(pdev, NULL); pci_disable_device(pdev); 
static void __devexit uli526x_remove_one (struct pci_dev *pdev){	struct net_device *dev = pci_get_drvdata(pdev);	struct uli526x_board_info *db = netdev_priv(dev);	ULI526X_DBUG(0, "uli526x_remove_one()", 0); 	if (dev) {		pci_free_consistent(db->pdev, sizeof(struct tx_desc) *					DESC_ALL_CNT + 0x20, db->desc_pool_ptr, 					db->desc_pool_dma_ptr);		pci_free_consistent(db->pdev, TX_BUF_ALLOC * TX_DESC_CNT + 4,					db->buf_pool_ptr, db->buf_pool_dma_ptr);		unregister_netdev(dev);		pci_release_regions(pdev);		free_netdev(dev);	/* free board information */		pci_set_drvdata(pdev, NULL);	}	ULI526X_DBUG(0, "uli526x_remove_one() exit", 0);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/945a787675cc5ba362f5d4ce135d2a2c20be5985/uli526x.c/buggy/drivers/net/tulip/uli526x.c