outb(IRCC_CFGA_IRDA_SIR_A|IRCC_CFGA_TX_POLARITY, iobase+IRCC_SCE_CFGA); outb(IRCC_CFGB_IR, iobase+IRCC_SCE_CFGB); 
outb(IRCC_CFGA_IRDA_SIR_A|IRCC_CFGA_TX_POLARITY, iobase + IRCC_SCE_CFGA); outb(IRCC_CFGB_IR, iobase + IRCC_SCE_CFGB); 
static int __exit smsc_ircc_close(struct smsc_ircc_cb *self){	int iobase;	unsigned long flags;	IRDA_DEBUG(1, "%s\n", __FUNCTION__);	IRDA_ASSERT(self != NULL, return -1;);	iobase = self->io.fir_base;	if (self->pmdev)		pm_unregister(self->pmdev);	/* Remove netdevice */	unregister_netdev(self->netdev);	/* Make sure the irq handler is not exectuting */	spin_lock_irqsave(&self->lock, flags);	/* Stop interrupts */	register_bank(iobase, 0);	outb(0, iobase+IRCC_IER);	outb(IRCC_MASTER_RESET, iobase+IRCC_MASTER);	outb(0x00, iobase+IRCC_MASTER);#if 0	/* Reset to SIR mode */	register_bank(iobase, 1);        outb(IRCC_CFGA_IRDA_SIR_A|IRCC_CFGA_TX_POLARITY, iobase+IRCC_SCE_CFGA);        outb(IRCC_CFGB_IR, iobase+IRCC_SCE_CFGB);#endif	spin_unlock_irqrestore(&self->lock, flags);	/* Release the PORTS that this driver is using */	IRDA_DEBUG(0, "%s(), releasing 0x%03x\n",  __FUNCTION__,		   self->io.fir_base);	release_region(self->io.fir_base, self->io.fir_ext);	IRDA_DEBUG(0, "%s(), releasing 0x%03x\n", __FUNCTION__,		   self->io.sir_base);	release_region(self->io.sir_base, self->io.sir_ext);	if (self->tx_buff.head)		dma_free_coherent(NULL, self->tx_buff.truesize,				  self->tx_buff.head, self->tx_buff_dma);	if (self->rx_buff.head)		dma_free_coherent(NULL, self->rx_buff.truesize,				  self->rx_buff.head, self->rx_buff_dma);	free_netdev(self->netdev);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/98b7777331d4344821e900040da5d1d3016d9e67/smsc-ircc2.c/clean/drivers/net/irda/smsc-ircc2.c