|
@@ -292,8 +292,7 @@ static struct platform_device au1x00_pcmcia_device = {
|
|
.id = 0,
|
|
.id = 0,
|
|
};
|
|
};
|
|
|
|
|
|
-#ifdef CONFIG_MIPS_DB1200
|
|
|
|
-
|
|
|
|
|
|
+#if defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200)
|
|
static struct resource smc91x_resources[] = {
|
|
static struct resource smc91x_resources[] = {
|
|
[0] = {
|
|
[0] = {
|
|
.name = "smc91x-regs",
|
|
.name = "smc91x-regs",
|
|
@@ -314,8 +313,7 @@ static struct platform_device smc91x_device = {
|
|
.num_resources = ARRAY_SIZE(smc91x_resources),
|
|
.num_resources = ARRAY_SIZE(smc91x_resources),
|
|
.resource = smc91x_resources,
|
|
.resource = smc91x_resources,
|
|
};
|
|
};
|
|
-
|
|
|
|
-#endif
|
|
|
|
|
|
+#endif /* defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200) */
|
|
|
|
|
|
/* All Alchemy demoboards with I2C have this #define in their headers */
|
|
/* All Alchemy demoboards with I2C have this #define in their headers */
|
|
#ifdef SMBUS_PSC_BASE
|
|
#ifdef SMBUS_PSC_BASE
|
|
@@ -350,7 +348,7 @@ static struct platform_device *au1xxx_platform_devices[] __initdata = {
|
|
&au1200_ide0_device,
|
|
&au1200_ide0_device,
|
|
&au1xxx_mmc_device,
|
|
&au1xxx_mmc_device,
|
|
#endif
|
|
#endif
|
|
-#ifdef CONFIG_MIPS_DB1200
|
|
|
|
|
|
+#if defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200)
|
|
&smc91x_device,
|
|
&smc91x_device,
|
|
#endif
|
|
#endif
|
|
#ifdef SMBUS_PSC_BASE
|
|
#ifdef SMBUS_PSC_BASE
|