.. | .. |
---|
22 | 22 | #include <asm/mach/arch.h> |
---|
23 | 23 | #include <asm/mach/flash.h> |
---|
24 | 24 | |
---|
| 25 | +#include "irqs.h" |
---|
| 26 | + |
---|
25 | 27 | static struct flash_platform_data vulcan_flash_data = { |
---|
26 | 28 | .map_name = "cfi_probe", |
---|
27 | 29 | .width = 2, |
---|
.. | .. |
---|
122 | 124 | .num_resources = ARRAY_SIZE(vulcan_uart_resources), |
---|
123 | 125 | }; |
---|
124 | 126 | |
---|
| 127 | +static struct resource vulcan_npeb_resources[] = { |
---|
| 128 | + { |
---|
| 129 | + .start = IXP4XX_EthB_BASE_PHYS, |
---|
| 130 | + .end = IXP4XX_EthB_BASE_PHYS + 0x0fff, |
---|
| 131 | + .flags = IORESOURCE_MEM, |
---|
| 132 | + }, |
---|
| 133 | +}; |
---|
| 134 | + |
---|
| 135 | +static struct resource vulcan_npec_resources[] = { |
---|
| 136 | + { |
---|
| 137 | + .start = IXP4XX_EthC_BASE_PHYS, |
---|
| 138 | + .end = IXP4XX_EthC_BASE_PHYS + 0x0fff, |
---|
| 139 | + .flags = IORESOURCE_MEM, |
---|
| 140 | + }, |
---|
| 141 | +}; |
---|
| 142 | + |
---|
125 | 143 | static struct eth_plat_info vulcan_plat_eth[] = { |
---|
126 | 144 | [0] = { |
---|
127 | 145 | .phy = 0, |
---|
.. | .. |
---|
142 | 160 | .dev = { |
---|
143 | 161 | .platform_data = &vulcan_plat_eth[0], |
---|
144 | 162 | }, |
---|
| 163 | + .num_resources = ARRAY_SIZE(vulcan_npeb_resources), |
---|
| 164 | + .resource = vulcan_npeb_resources, |
---|
145 | 165 | }, |
---|
146 | 166 | [1] = { |
---|
147 | 167 | .name = "ixp4xx_eth", |
---|
.. | .. |
---|
149 | 169 | .dev = { |
---|
150 | 170 | .platform_data = &vulcan_plat_eth[1], |
---|
151 | 171 | }, |
---|
| 172 | + .num_resources = ARRAY_SIZE(vulcan_npec_resources), |
---|
| 173 | + .resource = vulcan_npec_resources, |
---|
152 | 174 | }, |
---|
153 | 175 | }; |
---|
154 | 176 | |
---|