1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Defines for the MSP interrupt handlers. 4 * 5 * Copyright (C) 2005, PMC-Sierra, Inc. All rights reserved. 6 * Author: Andrew Hughes, Andrew_Hughes@pmc-sierra.com 7 * 8 * ######################################################################## 9 * 10 * ######################################################################## 11 */ 12 13 #ifndef _MSP_INT_H 14 #define _MSP_INT_H 15 16 /* 17 * The PMC-Sierra MSP product line has at least two different interrupt 18 * controllers, the SLP register based scheme and the CIC interrupt 19 * controller block mechanism. This file distinguishes between them 20 * so that devices see a uniform interface. 21 */ 22 23 #if defined(CONFIG_IRQ_MSP_SLP) 24 #include "msp_slp_int.h" 25 #elif defined(CONFIG_IRQ_MSP_CIC) 26 #include "msp_cic_int.h" 27 #else 28 #error "What sort of interrupt controller does *your* MSP have?" 29 #endif 30 31 #endif /* !_MSP_INT_H */