diff options
Diffstat (limited to 'arch/mips/alchemy/mtx-1/board_setup.c')
-rw-r--r-- | arch/mips/alchemy/mtx-1/board_setup.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/arch/mips/alchemy/mtx-1/board_setup.c b/arch/mips/alchemy/mtx-1/board_setup.c index da1e36626713..13577eec8b44 100644 --- a/arch/mips/alchemy/mtx-1/board_setup.c +++ b/arch/mips/alchemy/mtx-1/board_setup.c | |||
@@ -37,14 +37,14 @@ | |||
37 | #include <prom.h> | 37 | #include <prom.h> |
38 | 38 | ||
39 | char irq_tab_alchemy[][5] __initdata = { | 39 | char irq_tab_alchemy[][5] __initdata = { |
40 | [0] = { -1, INTA, INTA, INTX, INTX }, /* IDSEL 00 - AdapterA-Slot0 (top) */ | 40 | [0] = { -1, AU1500_PCI_INTA, AU1500_PCI_INTA, 0xff, 0xff }, /* IDSEL 00 - AdapterA-Slot0 (top) */ |
41 | [1] = { -1, INTB, INTA, INTX, INTX }, /* IDSEL 01 - AdapterA-Slot1 (bottom) */ | 41 | [1] = { -1, AU1500_PCI_INTB, AU1500_PCI_INTA, 0xff, 0xff }, /* IDSEL 01 - AdapterA-Slot1 (bottom) */ |
42 | [2] = { -1, INTC, INTD, INTX, INTX }, /* IDSEL 02 - AdapterB-Slot0 (top) */ | 42 | [2] = { -1, AU1500_PCI_INTC, AU1500_PCI_INTD, 0xff, 0xff }, /* IDSEL 02 - AdapterB-Slot0 (top) */ |
43 | [3] = { -1, INTD, INTC, INTX, INTX }, /* IDSEL 03 - AdapterB-Slot1 (bottom) */ | 43 | [3] = { -1, AU1500_PCI_INTD, AU1500_PCI_INTC, 0xff, 0xff }, /* IDSEL 03 - AdapterB-Slot1 (bottom) */ |
44 | [4] = { -1, INTA, INTB, INTX, INTX }, /* IDSEL 04 - AdapterC-Slot0 (top) */ | 44 | [4] = { -1, AU1500_PCI_INTA, AU1500_PCI_INTB, 0xff, 0xff }, /* IDSEL 04 - AdapterC-Slot0 (top) */ |
45 | [5] = { -1, INTB, INTA, INTX, INTX }, /* IDSEL 05 - AdapterC-Slot1 (bottom) */ | 45 | [5] = { -1, AU1500_PCI_INTB, AU1500_PCI_INTA, 0xff, 0xff }, /* IDSEL 05 - AdapterC-Slot1 (bottom) */ |
46 | [6] = { -1, INTC, INTD, INTX, INTX }, /* IDSEL 06 - AdapterD-Slot0 (top) */ | 46 | [6] = { -1, AU1500_PCI_INTC, AU1500_PCI_INTD, 0xff, 0xff }, /* IDSEL 06 - AdapterD-Slot0 (top) */ |
47 | [7] = { -1, INTD, INTC, INTX, INTX }, /* IDSEL 07 - AdapterD-Slot1 (bottom) */ | 47 | [7] = { -1, AU1500_PCI_INTD, AU1500_PCI_INTC, 0xff, 0xff }, /* IDSEL 07 - AdapterD-Slot1 (bottom) */ |
48 | }; | 48 | }; |
49 | 49 | ||
50 | extern int (*board_pci_idsel)(unsigned int devsel, int assert); | 50 | extern int (*board_pci_idsel)(unsigned int devsel, int assert); |
@@ -124,11 +124,11 @@ mtx1_pci_idsel(unsigned int devsel, int assert) | |||
124 | 124 | ||
125 | static int __init mtx1_init_irq(void) | 125 | static int __init mtx1_init_irq(void) |
126 | { | 126 | { |
127 | set_irq_type(AU1500_GPIO_204, IRQF_TRIGGER_HIGH); | 127 | set_irq_type(AU1500_GPIO204_INT, IRQF_TRIGGER_HIGH); |
128 | set_irq_type(AU1500_GPIO_201, IRQF_TRIGGER_LOW); | 128 | set_irq_type(AU1500_GPIO201_INT, IRQF_TRIGGER_LOW); |
129 | set_irq_type(AU1500_GPIO_202, IRQF_TRIGGER_LOW); | 129 | set_irq_type(AU1500_GPIO202_INT, IRQF_TRIGGER_LOW); |
130 | set_irq_type(AU1500_GPIO_203, IRQF_TRIGGER_LOW); | 130 | set_irq_type(AU1500_GPIO203_INT, IRQF_TRIGGER_LOW); |
131 | set_irq_type(AU1500_GPIO_205, IRQF_TRIGGER_LOW); | 131 | set_irq_type(AU1500_GPIO205_INT, IRQF_TRIGGER_LOW); |
132 | 132 | ||
133 | return 0; | 133 | return 0; |
134 | } | 134 | } |