Re: [2.6 patch] avr32: add include/asm-avr32/serial.h

From: Alan Cox
Date: Mon Apr 14 2008 - 18:01:04 EST


> 7beddb9fe7aee73227a9796a039cee9583cecc0a diff --git a/include/asm-avr32/serial.h b/include/asm-avr32/serial.h
> new file mode 100644
> index 0000000..5ecaebc
> --- /dev/null
> +++ b/include/asm-avr32/serial.h
> @@ -0,0 +1,13 @@
> +#ifndef _ASM_SERIAL_H
> +#define _ASM_SERIAL_H
> +
> +/*
> + * This assumes you have a 1.8432 MHz clock for your UART.
> + *
> + * It'd be nice if someone built a serial card with a 24.576 MHz
> + * clock, since the 16550A is capable of handling a top speed of 1.5
> + * megabits/second; but this requires the faster clock.
> + */
> +#define BASE_BAUD (1843200 / 16)
> +
> +#endif /* _ASM_SERIAL_H */

Acked-by: Alan Cox <alan@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/