[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200708062023.08046.mb@bu3sch.de>
Date: Mon, 6 Aug 2007 20:23:07 +0200
From: Michael Buesch <mb@...sch.de>
To: Aurelien Jarno <aurelien@...el32.net>
Cc: netdev@...r.kernel.org, Felix Fietkau <nbd@...nwrt.org>
Subject: Re: [PATCH 1/3] SSB EXTIF timing & serial port initialization
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 <nbd@...nwrt.org>
> Signed-off-by: Aurelien Jarno <aurelien@...el32.net>
> +#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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists