diff options
| author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2008-04-15 14:26:18 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 12:14:33 -0400 |
| commit | cf85c109831ce11ffa9befd4e970d6363e410a10 (patch) | |
| tree | 03468c41342d1f2dcc9ef5b843e6628b6b7ca838 | |
| parent | 3854c69a0d3080c8647f7b041da2382702f574b7 (diff) | |
[MIPS] Pb1200: do register SMC 91C111
Pb1200 does have SMC 91C111 Ethernet chip on board but the platform code
did not register it, so one couldn't mount NFS...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| -rw-r--r-- | arch/mips/au1000/common/platform.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/mips/au1000/common/platform.c b/arch/mips/au1000/common/platform.c index 06752f53fa88..83ad422e8aca 100644 --- a/arch/mips/au1000/common/platform.c +++ b/arch/mips/au1000/common/platform.c | |||
| @@ -292,8 +292,7 @@ static struct platform_device au1x00_pcmcia_device = { | |||
| 292 | .id = 0, | 292 | .id = 0, |
| 293 | }; | 293 | }; |
| 294 | 294 | ||
| 295 | #ifdef CONFIG_MIPS_DB1200 | 295 | #if defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200) |
| 296 | |||
| 297 | static struct resource smc91x_resources[] = { | 296 | static struct resource smc91x_resources[] = { |
| 298 | [0] = { | 297 | [0] = { |
| 299 | .name = "smc91x-regs", | 298 | .name = "smc91x-regs", |
| @@ -314,8 +313,7 @@ static struct platform_device smc91x_device = { | |||
| 314 | .num_resources = ARRAY_SIZE(smc91x_resources), | 313 | .num_resources = ARRAY_SIZE(smc91x_resources), |
| 315 | .resource = smc91x_resources, | 314 | .resource = smc91x_resources, |
| 316 | }; | 315 | }; |
| 317 | 316 | #endif /* defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200) */ | |
| 318 | #endif | ||
| 319 | 317 | ||
| 320 | /* All Alchemy demoboards with I2C have this #define in their headers */ | 318 | /* All Alchemy demoboards with I2C have this #define in their headers */ |
| 321 | #ifdef SMBUS_PSC_BASE | 319 | #ifdef SMBUS_PSC_BASE |
| @@ -350,7 +348,7 @@ static struct platform_device *au1xxx_platform_devices[] __initdata = { | |||
| 350 | &au1200_ide0_device, | 348 | &au1200_ide0_device, |
| 351 | &au1xxx_mmc_device, | 349 | &au1xxx_mmc_device, |
| 352 | #endif | 350 | #endif |
| 353 | #ifdef CONFIG_MIPS_DB1200 | 351 | #if defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200) |
| 354 | &smc91x_device, | 352 | &smc91x_device, |
| 355 | #endif | 353 | #endif |
| 356 | #ifdef SMBUS_PSC_BASE | 354 | #ifdef SMBUS_PSC_BASE |
