eseries-irq.h 795 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * eseries-irq.h
  3. *
  4. * Copyright (C) Ian Molton <spyro@f2s.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. *
  10. */
  11. #define ANGELX_IRQ_BASE (IRQ_BOARD_START+8)
  12. #define IRQ_ANGELX(n) (ANGELX_IRQ_BASE + (n))
  13. #define ANGELX_RDY0_IRQ IRQ_ANGELX(0)
  14. #define ANGELX_ST0_IRQ IRQ_ANGELX(1)
  15. #define ANGELX_CD0_IRQ IRQ_ANGELX(2)
  16. #define ANGELX_RDY1_IRQ IRQ_ANGELX(3)
  17. #define ANGELX_ST1_IRQ IRQ_ANGELX(4)
  18. #define ANGELX_CD1_IRQ IRQ_ANGELX(5)
  19. #define TMIO_IRQ_BASE (IRQ_BOARD_START+0)
  20. #define IRQ_TMIO(n) (TMIO_IRQ_BASE + (n))
  21. #define TMIO_SD_IRQ IRQ_TMIO(1)
  22. #define TMIO_USB_IRQ IRQ_TMIO(2)
  23. #define ESERIES_NR_IRQS (IRQ_BOARD_START + 16)