~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/linux/serial_sci.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        SCIx_NR_IRQS,
35
35
};
36
36
 
 
37
#define SCIx_IRQ_MUXED(irq)             \
 
38
{                                       \
 
39
        [SCIx_ERI_IRQ]  = (irq),        \
 
40
        [SCIx_RXI_IRQ]  = (irq),        \
 
41
        [SCIx_TXI_IRQ]  = (irq),        \
 
42
        [SCIx_BRI_IRQ]  = (irq),        \
 
43
}
 
44
 
37
45
struct device;
38
46
 
39
47
/*
40
48
 * Platform device specific platform_data struct
41
49
 */
42
50
struct plat_sci_port {
43
 
        void __iomem    *membase;               /* io cookie */
44
51
        unsigned long   mapbase;                /* resource base */
45
52
        unsigned int    irqs[SCIx_NR_IRQS];     /* ERI, RXI, TXI, BRI */
46
53
        unsigned int    type;                   /* SCI / SCIF / IRDA */
47
54
        upf_t           flags;                  /* UPF_* flags */
48
 
        char            *clk;                   /* clock string */
49
55
 
50
56
        unsigned int    scbrr_algo_id;          /* SCBRR calculation algo */
51
57
        unsigned int    scscr;                  /* SCSCR initialization */
52
58
 
53
59
        struct device   *dma_dev;
54
60
 
55
 
#ifdef CONFIG_SERIAL_SH_SCI_DMA
56
 
        unsigned int dma_slave_tx;
57
 
        unsigned int dma_slave_rx;
58
 
#endif
 
61
        unsigned int    dma_slave_tx;
 
62
        unsigned int    dma_slave_rx;
59
63
};
60
64
 
61
65
#endif /* __LINUX_SERIAL_SCI_H */