On Monday 06 August 2007, Aurelien Jarno wrote: > The patch below adds a new file drivers/ssb/driver_extif.c which > contains new SSB EXTIF functions to initializes the timing and the > serial ports. > > Cc: Felix Fietkau <[EMAIL PROTECTED]> > Signed-off-by: Aurelien Jarno <[EMAIL PROTECTED]>
> +#ifdef CONFIG_SSB_SERIAL > +static bool serial_exists(u8 *regs) > +{ > + u8 save_mcr, msr = 0; > + > + if (regs) { > + save_mcr = regs[UART_MCR]; > + regs[UART_MCR] = (UART_MCR_LOOP | UART_MCR_OUT2 | UART_MCR_RTS); > + msr = regs[UART_MSR] & (UART_MSR_DCD | UART_MSR_RI \ ^^^^^ Backslash? > + | UART_MSR_CTS | UART_MSR_DSR); > + regs[UART_MCR] = save_mcr; > + } > + return (msr == (UART_MSR_DCD | UART_MSR_CTS)); > +} - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html