diff options
| author | Len Brown <len.brown@intel.com> | 2011-03-23 02:34:54 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2011-03-23 02:34:54 -0400 |
| commit | 02e2407858fd62053bf60349c0e72cd1c7a4a60e (patch) | |
| tree | 0ebdbddc97d3abbc675916010e7771065b70c137 /include/linux/serial_sci.h | |
| parent | 96e1c408ea8a556c5b51e0e7d56bd2afbfbf5fe9 (diff) | |
| parent | 6447f55da90b77faec1697d499ed7986bb4f6de6 (diff) | |
Merge branch 'linus' into release
Conflicts:
arch/x86/kernel/acpi/sleep.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/serial_sci.h')
| -rw-r--r-- | include/linux/serial_sci.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h index 1630d9cae22a..a2afc9fbe186 100644 --- a/include/linux/serial_sci.h +++ b/include/linux/serial_sci.h | |||
| @@ -34,28 +34,32 @@ enum { | |||
| 34 | SCIx_NR_IRQS, | 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 | struct device; | 45 | struct device; |
| 38 | 46 | ||
| 39 | /* | 47 | /* |
| 40 | * Platform device specific platform_data struct | 48 | * Platform device specific platform_data struct |
| 41 | */ | 49 | */ |
| 42 | struct plat_sci_port { | 50 | struct plat_sci_port { |
| 43 | void __iomem *membase; /* io cookie */ | ||
| 44 | unsigned long mapbase; /* resource base */ | 51 | unsigned long mapbase; /* resource base */ |
| 45 | unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */ | 52 | unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */ |
| 46 | unsigned int type; /* SCI / SCIF / IRDA */ | 53 | unsigned int type; /* SCI / SCIF / IRDA */ |
| 47 | upf_t flags; /* UPF_* flags */ | 54 | upf_t flags; /* UPF_* flags */ |
| 48 | char *clk; /* clock string */ | ||
| 49 | 55 | ||
| 50 | unsigned int scbrr_algo_id; /* SCBRR calculation algo */ | 56 | unsigned int scbrr_algo_id; /* SCBRR calculation algo */ |
| 51 | unsigned int scscr; /* SCSCR initialization */ | 57 | unsigned int scscr; /* SCSCR initialization */ |
| 52 | 58 | ||
| 53 | struct device *dma_dev; | 59 | struct device *dma_dev; |
| 54 | 60 | ||
| 55 | #ifdef CONFIG_SERIAL_SH_SCI_DMA | 61 | unsigned int dma_slave_tx; |
| 56 | unsigned int dma_slave_tx; | 62 | unsigned int dma_slave_rx; |
| 57 | unsigned int dma_slave_rx; | ||
| 58 | #endif | ||
| 59 | }; | 63 | }; |
| 60 | 64 | ||
| 61 | #endif /* __LINUX_SERIAL_SCI_H */ | 65 | #endif /* __LINUX_SERIAL_SCI_H */ |
