remove some debugging junk (#492)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 31 May 2006 18:32:57 +0000 (18:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 31 May 2006 18:32:57 +0000 (18:32 +0000)
SVN-Revision: 3868

openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch

index 157b7298558ae7d44517b2dbd7dfb19dd2d2397a..c58de1d4eb917e136054e858ca9b1de5fd3d1bd6 100644 (file)
@@ -8719,7 +8719,7 @@ diff -urN linux.old/arch/mips/bcm947xx/setup.c linux.dev/arch/mips/bcm947xx/setu
 diff -urN linux.old/arch/mips/bcm947xx/time.c linux.dev/arch/mips/bcm947xx/time.c
 --- linux.old/arch/mips/bcm947xx/time.c        1970-01-01 01:00:00.000000000 +0100
 +++ linux.dev/arch/mips/bcm947xx/time.c        2005-08-26 13:44:34.314391216 +0200
-@@ -0,0 +1,117 @@
+@@ -0,0 +1,102 @@
 +/*
 + * Copyright 2004, Broadcom Corporation
 + * All Rights Reserved.
@@ -8794,13 +8794,6 @@ diff -urN linux.old/arch/mips/bcm947xx/time.c linux.dev/arch/mips/bcm947xx/time.
 +
 +      /* Set panic timeout in seconds */
 +      panic_timeout = watchdog / 1000;
-+
-+      /* Setup blink */
-+      if ((eir = sb_setcore(sbh, SB_EXTIF, 0))) {
-+              sbconfig_t *sb = (sbconfig_t *)((unsigned int) eir + SBCONFIGOFF);
-+              unsigned long base = EXTIF_CFGIF_BASE(sb_base(readl(&sb->sbadmatch1)));
-+              mcr = (u8 *) ioremap_nocache(base + UART_MCR, 1);
-+      }
 +}
 +
 +static void
@@ -8812,14 +8805,6 @@ diff -urN linux.old/arch/mips/bcm947xx/time.c linux.dev/arch/mips/bcm947xx/time.
 +      /* Set the watchdog timer to reset after the specified number of ms */
 +      if (watchdog > 0)
 +              sb_watchdog(sbh, WATCHDOG_CLOCK / 1000 * watchdog);
-+
-+#ifdef        CONFIG_HWSIM
-+      (*((int *)0xa0000f1c))++;
-+#else
-+      /* Blink one of the LEDs in the external UART */
-+      if (mcr && !(jiffies % (HZ/2)))
-+              writeb(readb(mcr) ^ UART_MCR_OUT2, mcr);
-+#endif
 +}
 +
 +static struct irqaction bcm947xx_timer_irqaction = {