- 19 4月, 2015 5 次提交
-
-
由 Joe Hershberger 提交于
This patch cleans up the names of internal packet buffer names that are used within the network stack and the functions that use them. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Joe Hershberger 提交于
Use "_ethaddr" at the end of variables and drop CamelCase. Make constant values actually 'const'. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
The variables around the bootfile were inconsistent and used CamelCase. Update them to make the code more readable. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
This patch is simply clean-up to make the IPv4 type that is used match what Linux uses. It also attempts to move all variables that are IP addresses use good naming instead of CamelCase. No functional change. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
Previously the net functions would access memory assuming physmem did not need to be mapped. In sandbox, that's not the case. Now we map the physmem specified by the user in loadaddr to the buffer that represents that space. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 25 6月, 2013 1 次提交
-
-
由 Matthias Brugger 提交于
This patch tackles the time out problem which leads to break the boot process, when loading file over nfs. The patch does two things. First of all, we just ignore messages that arrive with a rpc_id smaller then the client id. We just interpret this messages as answers to formaly timed out messages. Second, when a time out occurs we double the time to wait, so that we do not stress the server resending the last message. Signed-off-by: NMatthias Brugger <matthias.bgg@gmail.com> Tested-by: NEnric Balletbo i Serra <eballetbo@gmail.com>
-
- 13 7月, 2012 1 次提交
-
-
由 Tetsuyuki Kobayashi 提交于
NFS_TIMEOUT is constant value defined in net/nfs.c. But sometimes it needs to adjust. This patch enables to override NFS_TIMEOUT by defining CONFIG_NFS_TIMEOUT in a board specific config file. Signed-off-by: NTetsuyuki Kobayashi <koba@kmckk.co.jp>
-
- 24 5月, 2012 3 次提交
-
-
由 Joe Hershberger 提交于
Call a built-in dummy if none is registered... don't require protocols to register a handler (eliminating dummies) NetConsole now uses the ARP handler when waiting on arp (instead of needing a #define hack in arp.c) Clear handlers at the end of net loop Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
Changes to NetState now go through an accessor function called net_set_state() Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Joe Hershberger 提交于
Rename IP header related things to IP_UDP. The existing definition of IP_t includes UDP header, so name it to accurately describe the structure. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 16 5月, 2012 1 次提交
-
-
由 Joe Hershberger 提交于
Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 07 12月, 2011 1 次提交
-
-
由 Matthias Weisser 提交于
When building u-boot as 64 bit application (e.g. sandbox) ulong might be 64 bits in size. This breaks network code as IPaddr_t is 64 bytes in size then and an IPv4 address is 32 bits in size. This patch makes sure that IPaddr_t is always 32 bits in size. Also some warnings introduced by this patch are fixed. Signed-off-by: NMatthias Weisser <weisserm@arcor.de> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 06 10月, 2011 1 次提交
-
-
由 Mike Frysinger 提交于
This is long over due. All but two net drivers have been converted, but those have now been dropped. The only thing left to do is actually delete all references to NET_MULTI and code that is compiled when that is not defined. So here we scrub the core code. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 13 5月, 2011 1 次提交
-
-
由 Luca Ceresoli 提交于
This is needed for the upcoming TFTP server implementation. This also simplifies PingHandler() and fixes rxhand_f documentation. Signed-off-by: NLuca Ceresoli <luca.ceresoli@comelit.it> Cc: Wolfgang Denk <wd@denx.de> Acked-by: NDetlev Zundel <dzu@denx.de>
-
- 14 12月, 2009 1 次提交
-
-
由 Mike Frysinger 提交于
Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 08 12月, 2009 2 次提交
-
-
由 Evan Samanas 提交于
- NfsTimeout() does not correctly update the NFS timeout value which results in NfsTimeout() only being called once in certain situations. This can result in the 'nfs' command hanging indefinetly. For example, the command: nfs 192.168.0.1:/home/user/file will not exit until ctrl-c is pressed if 192.168.0.1 does not have an NFS server running. This issue is resolved by reinitializting the NFS timeout value inside NfsTimeout() when a timeout occurs. - Make the 'nfs' command print the 'T' character when a timeout occurs. Previously there was no indication that timeouts were occuring. - Mimic the 'tftpboot' command and when a download fails print "Retry count exceeded; starting again", and restart the download taking the 'netretry' environment variable into account. Signed-off-by: NEvan Samanas <esamanas@xes-inc.com> Signed-off-by: NPeter Tyser <ptyser@xes-inc.com> Tested on TQM8xxL. Tested by: Wolfgang Denk <wd@denx.de> Tested on MPC8527DS. Tested by: Ed Swarthout <Ed.Swarthout@freescale.com>
-
由 Ed Swarthout 提交于
An off by one error may cause nfs readlink lookup fail if nfs_path_buff has non-zero data from a previous use. Loading: *** ERROR: File lookup fail Signed-off-by: NEd Swarthout <Ed.Swarthout@freescale.com>
-
- 08 8月, 2009 1 次提交
-
-
由 Robin Getz 提交于
Minor ./net cleanups - no functional changes - change #ifdef DEBUG printf(); #endif to just debug() - changed __FUNCTION__ to __func__ - got rid of extra whitespace between function and opening brace - removed unnecessary braces on if statements gcc dead code elimination should make this functionally/size equivalent when DEBUG is not defined. (confirmed on Blackfin, with gcc 4.3.3). Signed-off-by: NRobin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 21 3月, 2009 1 次提交
-
-
由 Mike Frysinger 提交于
Now that our printf functions support the %pI4 modifier like the kernel, let's drop the inflexible print_IPaddr() function and covert over to the %pI4 modifier. Signed-off-by: NMike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
- 19 10月, 2008 2 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Bartlomiej Sieka 提交于
Enforce millisecond semantics of the first argument to NetSetTimeout() -- the change is transparent for well-behaving boards (CFG_HZ == 1000 and get_timer() countiing in milliseconds). Rationale for this patch is to enable millisecond granularity for network-related timeouts, which is needed for the upcoming automatic software update feature. Summary of changes: - do not scale the first argument to NetSetTimeout() by CFG_HZ - change timeout values used in the networking code to milliseconds Signed-off-by: NRafal Czubak <rcz@semihalf.com> Signed-off-by: NBartlomiej Sieka <tur@semihalf.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 14 2月, 2008 1 次提交
-
-
由 Hiroshi Ito 提交于
Retry to send NFS packet before reaching timeout. Signed-off-by: NHiroshi Ito <ito@mlb.co.jp>
-
- 18 11月, 2007 1 次提交
-
-
- 04 11月, 2007 1 次提交
-
-
由 Guennadi Liakhovetski 提交于
An obvious typo. Originally fixed in linkstation u-boot port. Signed-off-by: NGuennadi Liakhovetski <lg@denx.de>
-
- 12 7月, 2007 1 次提交
-
-
由 Stefan Roese 提交于
Signed-off-by: NStefan Roese <sr@denx.de>
-
- 10 7月, 2007 1 次提交
-
-
由 Jon Loeliger 提交于
Signed-off-by: NJon Loeliger <jdl@freescale.com>
-
- 04 7月, 2007 1 次提交
-
-
由 Jon Loeliger 提交于
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: NJon Loeliger <jdl@freescale.com>
-
- 06 8月, 2005 1 次提交
-
-
由 Wolfgang Denk 提交于
Patch by Hiroshi Ito, 11 Dec 2004
-
- 04 8月, 2005 1 次提交
-
-
由 Wolfgang Denk 提交于
Patch by Hiroshi Ito, 06 Dec 2004
-
- 29 9月, 2004 1 次提交
-
-
由 wdenk 提交于
Fix NFS timeout issue
-
- 01 7月, 2004 1 次提交
-
-
由 wdenk 提交于
* Increase NFS download timeout (now 1 min - 10 sec is to short for a slow download of a big image)
-
- 16 4月, 2004 1 次提交
-
-
由 wdenk 提交于
add networking support for VLANs (802.1q), and CDP (Cisco Discovery Protocol)
-
- 24 3月, 2004 1 次提交
-
-
由 wdenk 提交于
- show PCI clock frequency on MPC8260 systems - add FCC_PSMR_RMII flag for HiP7 processors - in do_jffs2_fsload(), take load address from load_addr if not set explicit, update load_addr otherwise - replaced printf by putc/puts when no formatting is needed (smaller code size, faster execution)
-
- 14 3月, 2004 1 次提交
-
-
由 wdenk 提交于
Fix problems with GCC 3.3.x which changed handling of global variables explicitly initialized to zero (now in .bss instead of .data as before). * Patch by Leon Kukovec, 02 Mar 2004: add strswab() to fix IDE LBA capacity, firmware and model numbers on little endian machines * Patch by Masami Komiya, 02 Mar 2004: - Remove get_ticks() from NFS code - Add verification of RPC transaction ID * Patch by Pierre Aubert, 02 Mar 2004: cleanup for IDE and USB drivers for MPC5200
-
- 27 2月, 2004 1 次提交
-
-
由 wdenk 提交于
- Timeouts in FPGA code should be based on CFG_HZ - Minor cleanup in code for Altera FPGA ACEX1K * Patch by Steven Scholz, 25 Feb 2004: Changed "Directory Hierarchy" section in README * Patch by Masami Komiya, 25 Feb 2004: Reduce copy count in nfs_read_reply() of NFS code
-
- 25 2月, 2004 1 次提交
-
-
由 wdenk 提交于
Update NetBootFileXferSize in NFS code * Patch by Scott McNutt, 24 Feb 2004: fix packet length in NFS code
-
- 24 2月, 2004 1 次提交
-
-
由 wdenk 提交于
Add support for NFS for file download * Minor code cleanup
-