Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[wrt350n-kernel.git] / include / asm-sh / sci.h
blob52e73660c1298ed6f2378cb84ade382c0903fb8b
1 #ifndef __ASM_SH_SCI_H
2 #define __ASM_SH_SCI_H
4 #include <linux/serial_core.h>
6 /*
7 * Generic header for SuperH SCI(F)
9 * Do not place SH-specific parts in here, sh64 and h8300 depend on this too.
12 /* Offsets into the sci_port->irqs array */
13 enum {
14 SCIx_ERI_IRQ,
15 SCIx_RXI_IRQ,
16 SCIx_TXI_IRQ,
17 SCIx_BRI_IRQ,
18 SCIx_NR_IRQS,
22 * Platform device specific platform_data struct
24 struct plat_sci_port {
25 void __iomem *membase; /* io cookie */
26 unsigned long mapbase; /* resource base */
27 unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */
28 unsigned int type; /* SCI / SCIF / IRDA */
29 upf_t flags; /* UPF_* flags */
32 int early_sci_setup(struct uart_port *port);
34 #endif /* __ASM_SH_SCI_H */