mb93093-fpga-irqs.h 852 B

12345678910111213141516171819202122232425262728293031
  1. /* mb93093-fpga-irqs.h: MB93093 CPU board FPGA IRQs
  2. *
  3. * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
  4. * Written by David Howells (dhowells@redhat.com)
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the License, or (at your option) any later version.
  10. */
  11. #ifndef _ASM_MB93093_FPGA_IRQS_H
  12. #define _ASM_MB93093_FPGA_IRQS_H
  13. #ifndef __ASSEMBLY__
  14. #include <asm/irq-routing.h>
  15. #define IRQ_BASE_FPGA (NR_IRQ_ACTIONS_PER_GROUP * 1)
  16. /* IRQ IDs presented to drivers */
  17. enum {
  18. IRQ_FPGA_PUSH_BUTTON_SW1_5 = IRQ_BASE_FPGA + 8,
  19. IRQ_FPGA_ROCKER_C_SW8 = IRQ_BASE_FPGA + 9,
  20. IRQ_FPGA_ROCKER_C_SW9 = IRQ_BASE_FPGA + 10,
  21. };
  22. #endif /* !__ASSEMBLY__ */
  23. #endif /* _ASM_MB93093_FPGA_IRQS_H */