From e7b83bc22a2838bf68596f79775dfefd31805c07 Mon Sep 17 00:00:00 2001 From: Ralph Hempel Date: Tue, 30 Mar 2010 16:17:38 +0000 Subject: httpd failsafe - add image check and flash access SVN-Revision: 20610 --- package/uboot-lantiq/patches/300-httpd.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'package/uboot-lantiq/patches') diff --git a/package/uboot-lantiq/patches/300-httpd.patch b/package/uboot-lantiq/patches/300-httpd.patch index f9a81e9..25e84cd 100644 --- a/package/uboot-lantiq/patches/300-httpd.patch +++ b/package/uboot-lantiq/patches/300-httpd.patch @@ -165,7 +165,7 @@ NetRxPacket = inpkt; NetRxPacketLen = len; et = (Ethernet_t *)inpkt; -@@ -1952,3 +1972,161 @@ ushort getenv_VLAN(char *var) +@@ -1952,3 +1972,162 @@ ushort getenv_VLAN(char *var) { return (string_to_VLAN(getenv(var))); } @@ -249,6 +249,8 @@ + NetArpWaitTxPacketSize = 0; + } + ++restart: ++ + eth_halt(); +#ifdef CONFIG_NET_MULTI + eth_set_current(); @@ -258,7 +260,6 @@ + return(-1); + } + -+restart: +#ifdef CONFIG_NET_MULTI + memcpy (NetOurEther, eth_get_dev()->enetaddr, 6); +#else -- cgit v1.1