home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-frv / mb93093-fpga-irqs.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  852 b   |  32 lines

  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.  
  12. #ifndef _ASM_MB93093_FPGA_IRQS_H
  13. #define _ASM_MB93093_FPGA_IRQS_H
  14.  
  15. #ifndef __ASSEMBLY__
  16.  
  17. #include <asm/irq-routing.h>
  18.  
  19. #define IRQ_BASE_FPGA        (NR_IRQ_ACTIONS_PER_GROUP * 1)
  20.  
  21. /* IRQ IDs presented to drivers */
  22. enum {
  23.     IRQ_FPGA_PUSH_BUTTON_SW1_5        = IRQ_BASE_FPGA + 8,
  24.     IRQ_FPGA_ROCKER_C_SW8            = IRQ_BASE_FPGA + 9,
  25.     IRQ_FPGA_ROCKER_C_SW9            = IRQ_BASE_FPGA + 10,
  26. };
  27.  
  28.  
  29. #endif /* !__ASSEMBLY__ */
  30.  
  31. #endif /* _ASM_MB93093_FPGA_IRQS_H */
  32.