diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-12-06 14:16:44 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-06 19:43:55 -0500 |
commit | 7cc955c8fdd58c5f2c98077011a20ce10897288c (patch) | |
tree | 5b936212e9c476d9ae0668f2748e3d4d34eb44a9 /arch/ppc/platforms | |
parent | 43af66e1359999e3a6e306d4ee6edfc6c7d26595 (diff) |
[POWERPC] virtex bug fix: Use canonical value for AC97 interrupt xparams
The ml300 and ml403 xparameters.h files use different macros for the
AC97 interrupt pin assignments. This normalizes them to a canonical
value similar to what EDK generates for most other devices. This is
needed to get ml300 support to compile in arch/ppc.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/platforms')
-rw-r--r-- | arch/ppc/platforms/4xx/xparameters/xparameters.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/ppc/platforms/4xx/xparameters/xparameters.h b/arch/ppc/platforms/4xx/xparameters/xparameters.h index 01aa043ff381..650888b00fb0 100644 --- a/arch/ppc/platforms/4xx/xparameters/xparameters.h +++ b/arch/ppc/platforms/4xx/xparameters/xparameters.h | |||
@@ -15,8 +15,16 @@ | |||
15 | 15 | ||
16 | #if defined(CONFIG_XILINX_ML300) | 16 | #if defined(CONFIG_XILINX_ML300) |
17 | #include "xparameters_ml300.h" | 17 | #include "xparameters_ml300.h" |
18 | #define XPAR_INTC_0_AC97_CONTROLLER_REF_0_PLAYBACK_VEC_ID \ | ||
19 | XPAR_DCR_INTC_0_OPB_AC97_CONTROLLER_REF_0_PLAYBACK_INTERRUPT_INTR | ||
20 | #define XPAR_INTC_0_AC97_CONTROLLER_REF_0_RECORD_VEC_ID \ | ||
21 | XPAR_DCR_INTC_0_OPB_AC97_CONTROLLER_REF_0_RECORD_INTERRUPT_INTR | ||
18 | #elif defined(CONFIG_XILINX_ML403) | 22 | #elif defined(CONFIG_XILINX_ML403) |
19 | #include "xparameters_ml403.h" | 23 | #include "xparameters_ml403.h" |
24 | #define XPAR_INTC_0_AC97_CONTROLLER_REF_0_PLAYBACK_VEC_ID \ | ||
25 | XPAR_OPB_INTC_0_OPB_AC97_CONTROLLER_REF_0_PLAYBACK_INTERRUPT_INTR | ||
26 | #define XPAR_INTC_0_AC97_CONTROLLER_REF_0_RECORD_VEC_ID \ | ||
27 | XPAR_OPB_INTC_0_OPB_AC97_CONTROLLER_REF_0_RECORD_INTERRUPT_INTR | ||
20 | #else | 28 | #else |
21 | /* Add other board xparameter includes here before the #else */ | 29 | /* Add other board xparameter includes here before the #else */ |
22 | #error No xparameters_*.h file included | 30 | #error No xparameters_*.h file included |