mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[uboot-lantiq] httpd failsafe - add image check and flash access
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20610 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user