/kernel/2.6.32_froyo_photon_nightly/include/linux/serial_sci.h

http://photon-android.googlecode.com/ · C++ Header · 31 lines · 19 code · 5 blank · 7 comment · 0 complexity · d7b48c0a6dc8018ba12b92ee801d45f0 MD5 · raw file

  1. #ifndef __LINUX_SERIAL_SCI_H
  2. #define __LINUX_SERIAL_SCI_H
  3. #include <linux/serial_core.h>
  4. /*
  5. * Generic header for SuperH SCI(F) (used by sh/sh64/h8300 and related parts)
  6. */
  7. /* Offsets into the sci_port->irqs array */
  8. enum {
  9. SCIx_ERI_IRQ,
  10. SCIx_RXI_IRQ,
  11. SCIx_TXI_IRQ,
  12. SCIx_BRI_IRQ,
  13. SCIx_NR_IRQS,
  14. };
  15. /*
  16. * Platform device specific platform_data struct
  17. */
  18. struct plat_sci_port {
  19. void __iomem *membase; /* io cookie */
  20. unsigned long mapbase; /* resource base */
  21. unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */
  22. unsigned int type; /* SCI / SCIF / IRDA */
  23. upf_t flags; /* UPF_* flags */
  24. char *clk; /* clock string */
  25. };
  26. #endif /* __LINUX_SERIAL_SCI_H */