msp_int.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * Defines for the MSP interrupt handlers.
  3. *
  4. * Copyright (C) 2005, PMC-Sierra, Inc. All rights reserved.
  5. * Author: Andrew Hughes, Andrew_Hughes@pmc-sierra.com
  6. *
  7. * ########################################################################
  8. *
  9. * This program is free software; you can distribute it and/or modify it
  10. * under the terms of the GNU General Public License (Version 2) as
  11. * published by the Free Software Foundation.
  12. *
  13. * This program is distributed in the hope it will be useful, but WITHOUT
  14. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  16. * for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License along
  19. * with this program; if not, write to the Free Software Foundation, Inc.,
  20. * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
  21. *
  22. * ########################################################################
  23. */
  24. #ifndef _MSP_INT_H
  25. #define _MSP_INT_H
  26. /*
  27. * The PMC-Sierra MSP product line has at least two different interrupt
  28. * controllers, the SLP register based scheme and the CIC interrupt
  29. * controller block mechanism. This file distinguishes between them
  30. * so that devices see a uniform interface.
  31. */
  32. #if defined(CONFIG_IRQ_MSP_SLP)
  33. #include "msp_slp_int.h"
  34. #elif defined(CONFIG_IRQ_MSP_CIC)
  35. #include "msp_cic_int.h"
  36. #else
  37. #error "What sort of interrupt controller does *your* MSP have?"
  38. #endif
  39. #endif /* !_MSP_INT_H */