Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74680
b: refs/heads/master
c: 7cc955c
h: refs/heads/master
v: v3
  • Loading branch information
Grant Likely authored and Paul Mackerras committed Dec 7, 2007
1 parent 67ad53d commit dcdb798
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43af66e1359999e3a6e306d4ee6edfc6c7d26595
refs/heads/master: 7cc955c8fdd58c5f2c98077011a20ce10897288c
8 changes: 8 additions & 0 deletions trunk/arch/ppc/platforms/4xx/xparameters/xparameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,16 @@

#if defined(CONFIG_XILINX_ML300)
#include "xparameters_ml300.h"
#define XPAR_INTC_0_AC97_CONTROLLER_REF_0_PLAYBACK_VEC_ID \
XPAR_DCR_INTC_0_OPB_AC97_CONTROLLER_REF_0_PLAYBACK_INTERRUPT_INTR
#define XPAR_INTC_0_AC97_CONTROLLER_REF_0_RECORD_VEC_ID \
XPAR_DCR_INTC_0_OPB_AC97_CONTROLLER_REF_0_RECORD_INTERRUPT_INTR
#elif defined(CONFIG_XILINX_ML403)
#include "xparameters_ml403.h"
#define XPAR_INTC_0_AC97_CONTROLLER_REF_0_PLAYBACK_VEC_ID \
XPAR_OPB_INTC_0_OPB_AC97_CONTROLLER_REF_0_PLAYBACK_INTERRUPT_INTR
#define XPAR_INTC_0_AC97_CONTROLLER_REF_0_RECORD_VEC_ID \
XPAR_OPB_INTC_0_OPB_AC97_CONTROLLER_REF_0_RECORD_INTERRUPT_INTR
#else
/* Add other board xparameter includes here before the #else */
#error No xparameters_*.h file included
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/ppc/syslib/virtex_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@
.flags = IORESOURCE_MEM, \
}, \
{ \
.start = XPAR_OPB_INTC_0_OPB_AC97_CONTROLLER_REF_##num##_PLAYBACK_INTERRUPT_INTR, \
.end = XPAR_OPB_INTC_0_OPB_AC97_CONTROLLER_REF_##num##_PLAYBACK_INTERRUPT_INTR, \
.start = XPAR_INTC_0_AC97_CONTROLLER_REF_##num##_PLAYBACK_VEC_ID, \
.end = XPAR_INTC_0_AC97_CONTROLLER_REF_##num##_PLAYBACK_VEC_ID, \
.flags = IORESOURCE_IRQ, \
}, \
{ \
.start = XPAR_OPB_INTC_0_OPB_AC97_CONTROLLER_REF_##num##_RECORD_INTERRUPT_INTR, \
.end = XPAR_OPB_INTC_0_OPB_AC97_CONTROLLER_REF_##num##_RECORD_INTERRUPT_INTR, \
.start = XPAR_INTC_0_AC97_CONTROLLER_REF_##num##_RECORD_VEC_ID, \
.end = XPAR_INTC_0_AC97_CONTROLLER_REF_##num##_RECORD_VEC_ID, \
.flags = IORESOURCE_IRQ, \
}, \
}, \
Expand Down

0 comments on commit dcdb798

Please sign in to comment.