diff options
Diffstat (limited to 'arch/mips/au1000/common/platform.c')
-rw-r--r-- | arch/mips/au1000/common/platform.c | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/arch/mips/au1000/common/platform.c b/arch/mips/au1000/common/platform.c index 83ad422e8aca..31d2a2270878 100644 --- a/arch/mips/au1000/common/platform.c +++ b/arch/mips/au1000/common/platform.c | |||
@@ -233,19 +233,6 @@ static struct resource au1200_lcd_resources[] = { | |||
233 | } | 233 | } |
234 | }; | 234 | }; |
235 | 235 | ||
236 | static struct resource au1200_ide0_resources[] = { | ||
237 | [0] = { | ||
238 | .start = AU1XXX_ATA_PHYS_ADDR, | ||
239 | .end = AU1XXX_ATA_PHYS_ADDR + AU1XXX_ATA_PHYS_LEN - 1, | ||
240 | .flags = IORESOURCE_MEM, | ||
241 | }, | ||
242 | [1] = { | ||
243 | .start = AU1XXX_ATA_INT, | ||
244 | .end = AU1XXX_ATA_INT, | ||
245 | .flags = IORESOURCE_IRQ, | ||
246 | } | ||
247 | }; | ||
248 | |||
249 | static u64 au1200_lcd_dmamask = ~(u32)0; | 236 | static u64 au1200_lcd_dmamask = ~(u32)0; |
250 | 237 | ||
251 | static struct platform_device au1200_lcd_device = { | 238 | static struct platform_device au1200_lcd_device = { |
@@ -259,20 +246,6 @@ static struct platform_device au1200_lcd_device = { | |||
259 | .resource = au1200_lcd_resources, | 246 | .resource = au1200_lcd_resources, |
260 | }; | 247 | }; |
261 | 248 | ||
262 | |||
263 | static u64 ide0_dmamask = ~(u32)0; | ||
264 | |||
265 | static struct platform_device au1200_ide0_device = { | ||
266 | .name = "au1200-ide", | ||
267 | .id = 0, | ||
268 | .dev = { | ||
269 | .dma_mask = &ide0_dmamask, | ||
270 | .coherent_dma_mask = 0xffffffff, | ||
271 | }, | ||
272 | .num_resources = ARRAY_SIZE(au1200_ide0_resources), | ||
273 | .resource = au1200_ide0_resources, | ||
274 | }; | ||
275 | |||
276 | static u64 au1xxx_mmc_dmamask = ~(u32)0; | 249 | static u64 au1xxx_mmc_dmamask = ~(u32)0; |
277 | 250 | ||
278 | static struct platform_device au1xxx_mmc_device = { | 251 | static struct platform_device au1xxx_mmc_device = { |
@@ -292,29 +265,6 @@ static struct platform_device au1x00_pcmcia_device = { | |||
292 | .id = 0, | 265 | .id = 0, |
293 | }; | 266 | }; |
294 | 267 | ||
295 | #if defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200) | ||
296 | static struct resource smc91x_resources[] = { | ||
297 | [0] = { | ||
298 | .name = "smc91x-regs", | ||
299 | .start = AU1XXX_SMC91111_PHYS_ADDR, | ||
300 | .end = AU1XXX_SMC91111_PHYS_ADDR + 0xf, | ||
301 | .flags = IORESOURCE_MEM, | ||
302 | }, | ||
303 | [1] = { | ||
304 | .start = AU1XXX_SMC91111_IRQ, | ||
305 | .end = AU1XXX_SMC91111_IRQ, | ||
306 | .flags = IORESOURCE_IRQ, | ||
307 | }, | ||
308 | }; | ||
309 | |||
310 | static struct platform_device smc91x_device = { | ||
311 | .name = "smc91x", | ||
312 | .id = -1, | ||
313 | .num_resources = ARRAY_SIZE(smc91x_resources), | ||
314 | .resource = smc91x_resources, | ||
315 | }; | ||
316 | #endif /* defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200) */ | ||
317 | |||
318 | /* All Alchemy demoboards with I2C have this #define in their headers */ | 268 | /* All Alchemy demoboards with I2C have this #define in their headers */ |
319 | #ifdef SMBUS_PSC_BASE | 269 | #ifdef SMBUS_PSC_BASE |
320 | static struct resource pbdb_smbus_resources[] = { | 270 | static struct resource pbdb_smbus_resources[] = { |
@@ -345,12 +295,8 @@ static struct platform_device *au1xxx_platform_devices[] __initdata = { | |||
345 | &au1xxx_usb_gdt_device, | 295 | &au1xxx_usb_gdt_device, |
346 | &au1xxx_usb_otg_device, | 296 | &au1xxx_usb_otg_device, |
347 | &au1200_lcd_device, | 297 | &au1200_lcd_device, |
348 | &au1200_ide0_device, | ||
349 | &au1xxx_mmc_device, | 298 | &au1xxx_mmc_device, |
350 | #endif | 299 | #endif |
351 | #if defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200) | ||
352 | &smc91x_device, | ||
353 | #endif | ||
354 | #ifdef SMBUS_PSC_BASE | 300 | #ifdef SMBUS_PSC_BASE |
355 | &pbdb_smbus_device, | 301 | &pbdb_smbus_device, |
356 | #endif | 302 | #endif |