io.h 701 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * include/asm-sh/sh03/io.h
  3. *
  4. * Copyright 2004 Interface Co.,Ltd. Saito.K
  5. *
  6. * IO functions for an Interface CTP/PCI-SH03
  7. */
  8. #ifndef _ASM_SH_IO_SH03_H
  9. #define _ASM_SH_IO_SH03_H
  10. #include <linux/time.h>
  11. #define INTC_IPRD 0xffd00010UL
  12. #define IRL0_IRQ 2
  13. #define IRL0_IPR_ADDR INTC_IPRD
  14. #define IRL0_IPR_POS 3
  15. #define IRL0_PRIORITY 13
  16. #define IRL1_IRQ 5
  17. #define IRL1_IPR_ADDR INTC_IPRD
  18. #define IRL1_IPR_POS 2
  19. #define IRL1_PRIORITY 10
  20. #define IRL2_IRQ 8
  21. #define IRL2_IPR_ADDR INTC_IPRD
  22. #define IRL2_IPR_POS 1
  23. #define IRL2_PRIORITY 7
  24. #define IRL3_IRQ 11
  25. #define IRL3_IPR_ADDR INTC_IPRD
  26. #define IRL3_IPR_POS 0
  27. #define IRL3_PRIORITY 4
  28. void heartbeat_sh03(void);
  29. #endif /* _ASM_SH_IO_SH03_H */