| e4a3d57d | 27-Oct-2011 |
Simon Glass <sjg@chromium.org> |
net: Export auto_load, use it in rarp
The rarp code includes another instance of the auto_load logic, so call what is now net_auto_load() instead.
This also fixes an incorrect call to TftpStart() w
net: Export auto_load, use it in rarp
The rarp code includes another instance of the auto_load logic, so call what is now net_auto_load() instead.
This also fixes an incorrect call to TftpStart() which was never seen since apparently no boards enable rarp.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 8c6914f1 | 27-Oct-2011 |
Simon Glass <sjg@chromium.org> |
net: Add more #ifdefs for tftpput to reduce code size
If CONFIG_CMD_TFTPPUT is not enabled, we want minimal code size impact on the tftp code. This introduces a few more #ifdefs.
Signed-off-by: Sim
net: Add more #ifdefs for tftpput to reduce code size
If CONFIG_CMD_TFTPPUT is not enabled, we want minimal code size impact on the tftp code. This introduces a few more #ifdefs.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| e4cde2f7 | 24-Oct-2011 |
Simon Glass <sjg@chromium.org> |
net: tftpput: Factor out start, restart and next block functions
This code is required for tftpput, so move it into separate functions.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| f5329bbc | 24-Oct-2011 |
Simon Glass <sjg@chromium.org> |
net: tftpput: move common code into separate functions
We want to show block markers on completion of get and put, so move this common code into separate functions.
Signed-off-by: Simon Glass <sjg@
net: tftpput: move common code into separate functions
We want to show block markers on completion of get and put, so move this common code into separate functions.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 4793ee65 | 24-Oct-2011 |
Simon Glass <sjg@chromium.org> |
net: tftpput: Add support for receiving ICMP packets
ICMP packets can tell you when there is no server at the other end. It is useful for tftp to figure this out, so that a quick error can be displa
net: tftpput: Add support for receiving ICMP packets
ICMP packets can tell you when there is no server at the other end. It is useful for tftp to figure this out, so that a quick error can be displayed, rather than pointlessly retrying.
This adds an ICMP packet handler to the net interface.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| ff25d32c | 11-Sep-2011 |
Mike Frysinger <vapier@gentoo.org> |
net: turn name len check into an assert
The new sanity check introduces a printf warning for some systems: eth.c:233: warning: format '%zu' expects type 'size_t', but argument 3 has type 'int'
Rat
net: turn name len check into an assert
The new sanity check introduces a printf warning for some systems: eth.c:233: warning: format '%zu' expects type 'size_t', but argument 3 has type 'int'
Rather than tweak the format string, use the new assert() helper instead.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|