No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / arm / imx / imxuartvar.h
blob30f63fae272a8794399018567e628c32c185087c
1 /* $Id: imxuartvar.h,v 1.2 2008/04/27 18:58:44 matt Exp $ */
2 /*
3 * driver include for Freescale i.MX31 and i.MX31L UARTs
4 */
6 typedef struct imxuart_softc {
7 struct device sc_dev;
8 bus_space_tag_t sc_bt;
9 bus_space_handle_t sc_bh;
11 uint32_t sc_intrspec_enb;
12 uint32_t sc_ucr[4];
13 uint32_t sc_usr[2];
15 uint sc_init_cnt;
17 bus_addr_t sc_addr;
18 bus_size_t sc_size;
19 int sc_intr;
21 struct tty *sc_tty;
23 struct {
24 ulong err;
25 ulong brk;
26 ulong prerr;
27 ulong frmerr;
28 ulong ovrrun;
29 } sc_errors;
30 } imxuart_softc_t;
32 int imxuart_init(imxuart_softc_t *, uint);
33 int imxuart_test(void);