Update of /cvsroot/linuxsh/linux/include/asm-sh
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv24470/include/asm-sh
Added Files:
sci.h
Log Message:
Rewrite sh-sci for the driver model. All CPU subtypes are required to register
a platform device with their port list defined (see the 7780 setup code as an
example).
--- NEW FILE: sci.h ---
#ifndef __ASM_SH_SCI_H
#define __ASM_SH_SCI_H
#include <linux/serial_core.h>
/*
* Generic header for SuperH SCI(F)
*
* Do not place SH-specific parts in here, sh64 and h8300 depend on this too.
*/
/* Offsets into the sci_port->irqs array */
enum {
SCIx_ERI_IRQ,
SCIx_RXI_IRQ,
SCIx_TXI_IRQ,
SCIx_BRI_IRQ,
SCIx_NR_IRQS,
};
/*
* Platform device specific platform_data struct
*/
struct plat_sci_port {
void __iomem *membase; /* io cookie */
unsigned long mapbase; /* resource base */
unsigned int irqs[4]; /* ERI, RXI, TXI, BRI */
unsigned int type; /* SCI / SCIF / IRDA */
upf_t flags; /* UPF_* flags */
};
#endif /* __ASM_SH_SCI_H */
|