summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/broadcom-diag/src/diag.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c
index a4bad4d00c..9cfc1d98c8 100644
--- a/package/broadcom-diag/src/diag.c
+++ b/package/broadcom-diag/src/diag.c
@@ -142,9 +142,12 @@ static void __init bcm4780_init(void) {
static void __init bcm57xx_init(void) {
int pin = 1 << 2;
+#ifndef LINUX_2_4
+ /* FIXME: switch comes up, but port mappings/vlans not right */
gpio_outen(pin, pin);
gpio_control(pin, 0);
gpio_out(pin, pin);
+#endif
}
static struct platform_t __initdata platforms[] = {