Changeset 2c63d359 in freewrt


Ignore:
Timestamp:
Jun 10, 2006, 10:14:43 AM (20 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
4399811
Parents:
0316f4d
Message:

sync with OpenWrt r3868

git-svn-id: svn://www.freewrt.org/trunk/freewrt@24 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • target/linux/brcm-2.4/patches/001-bcm47xx.patch

    r0316f4d r2c63d359  
    1575215752--- linux.old/arch/mips/bcm947xx/time.c 1970-01-01 01:00:00.000000000 +0100
    1575315753+++ linux.dev/arch/mips/bcm947xx/time.c 2006-04-28 00:45:40.000000000 +0200
    15754 @@ -0,0 +1,119 @@
     15754@@ -0,0 +1,104 @@
    1575515755+/*
    1575615756+ * Copyright 2006, Broadcom Corporation
     
    1582915829+       /* Set panic timeout in seconds */
    1583015830+       panic_timeout = watchdog / 1000;
    15831 +
    15832 +       /* Setup blink */
    15833 +       if ((eir = sb_setcore(sbh, SB_EXTIF, 0))) {
    15834 +               sbconfig_t *sb = (sbconfig_t *)((unsigned int) eir + SBCONFIGOFF);
    15835 +               unsigned long base = EXTIF_CFGIF_BASE(sb_base(readl(&sb->sbadmatch1)));
    15836 +               mcr = (u8 *) ioremap_nocache(base + UART_MCR, 1);
    15837 +       }
    1583815831+}
    1583915832+
     
    1584715840+       if (watchdog > 0)
    1584815841+               sb_watchdog(sbh, WATCHDOG_CLOCK / 1000 * watchdog);
    15849 +
    15850 +#ifdef CONFIG_HWSIM
    15851 +       (*((int *)0xa0000f1c))++;
    15852 +#else
    15853 +       /* Blink one of the LEDs in the external UART */
    15854 +       if (mcr && !(jiffies % (HZ/2)))
    15855 +               writeb(readb(mcr) ^ UART_MCR_OUT2, mcr);
    15856 +#endif
    1585715842+}
    1585815843+
Note: See TracChangeset for help on using the changeset viewer.