/* Enable SMC2 transceivers */ bcsr1 = ioremap(BCSR1, 4); tmp = in_be32(bcsr1); tmp &= ~BCSR1_RS232EN_2; out_be32(bcsr1, tmp); iounmap(bcsr1); 
if (!pinfo->is_portb) { cp->cp_pbpar |= iobits; cp->cp_pbdir &= ~iobits; cp->cp_pbodr &= ~iobits; } else { ((immap_t *)IMAP_ADDR)->im_ioport.iop_papar |= iobits; ((immap_t *)IMAP_ADDR)->im_ioport.iop_padir &= ~iobits; ((immap_t *)IMAP_ADDR)->im_ioport.iop_paodr &= ~iobits; }  
void smc2_lineif(struct uart_cpm_port *pinfo){#ifdef CONFIG_MPC885ADS	volatile cpm8xx_t *cp = cpmp;	volatile uint __iomem *bcsr1;	uint tmp;	cp->cp_pepar |= 0x00000c00;	cp->cp_pedir &= ~0x00000c00;	cp->cp_peso &= ~0x00000400;	cp->cp_peso |= 0x00000800;	/* Enable SMC2 transceivers */	bcsr1 = ioremap(BCSR1, 4);	tmp = in_be32(bcsr1);	tmp &= ~BCSR1_RS232EN_2;	out_be32(bcsr1, tmp);	iounmap(bcsr1);#endif	pinfo->brg = 2;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/311c46273f0e8b140d4cc68e13128cbc22114807/cpm_uart_cpm1.c/clean/drivers/serial/cpm_uart/cpm_uart_cpm1.c