And while at it, also include a define check for BCM6328, thanks to
Gabor for spotting this.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36506
3c298f89-4303-0410-b956-
a3cf2f4a3e73
};
int __init bcm63xx_enet_register(int unit,
};
int __init bcm63xx_enet_register(int unit,
-@@ -70,4 +96,67 @@ int __init bcm63xx_enet_register(int uni
+@@ -70,4 +96,69 @@ int __init bcm63xx_enet_register(int uni
int bcm63xx_enetsw_register(const struct bcm63xx_enetsw_platform_data *pd);
int bcm63xx_enetsw_register(const struct bcm63xx_enetsw_platform_data *pd);
+ return ENETDMA_6345_LEN_REG;
+ }
+#endif
+ return ENETDMA_6345_LEN_REG;
+ }
+#endif
-+#if defined(CONFIG_BCM6XX_CPU_6338) || defined(CONFIG_BCM63XX_CPU_6348) || \
++#if defined(CONFIG_BCM63XX_CPU_6328) || \
++ defined(CONFIG_BCM63XX_CPU_6338) ||
++ defined(CONFIG_BCM63XX_CPU_6348) || \
+ defined(CONFIG_BCM63XX_CPU_6358) || \
+ defined(CONFIG_BCM63XX_CPU_6362) || \
+ defined(CONFIG_BCM63XX_CPU_6368)
+ defined(CONFIG_BCM63XX_CPU_6358) || \
+ defined(CONFIG_BCM63XX_CPU_6362) || \
+ defined(CONFIG_BCM63XX_CPU_6368)