| 26660748 | 14-Sep-2015 |
Bernhard Nortmann <bernhard.nortmann@web.de> |
net: support NETCONSOLE option via Kconfig
This patch introduces CONFIG_NETCONSOLE as an option to the Kconfig system.
Joe Hershberger pointed out that it may not be entirely free of problems, as m
net: support NETCONSOLE option via Kconfig
This patch introduces CONFIG_NETCONSOLE as an option to the Kconfig system.
Joe Hershberger pointed out that it may not be entirely free of problems, as many boards predating the driver model define this symbol directly via include files. In case they're not properly migrated, their NetConsole might 'vanish' if they start to use CONFIG_NET or CONFIG_NETDEVICES.
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| e408c421 | 28-Aug-2015 |
Bin Meng <bmeng.cn@gmail.com> |
dm: eth: Correctly detect alias in eth_get_dev_by_name()
When given a device name string, we should test to see if it is really an alias like "eth#".
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Ac
dm: eth: Correctly detect alias in eth_get_dev_by_name()
When given a device name string, we should test to see if it is really an alias like "eth#".
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| d8f79afa | 28-Aug-2015 |
Bin Meng <bmeng.cn@gmail.com> |
dm: eth: Do not print misleading "Net Initialization Skipped"
With driver model, board_eth_init() or cpu_eth_init() is not a must. Thus we don't need print a misleading "Net Initialization Skipped".
dm: eth: Do not print misleading "Net Initialization Skipped"
With driver model, board_eth_init() or cpu_eth_init() is not a must. Thus we don't need print a misleading "Net Initialization Skipped".
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 19a4fbaa | 21-Aug-2015 |
Michal Simek <michal.simek@xilinx.com> |
net: Return -EINTR when ctrl+c is pressed
Current behavior is that if CTRL+C is pressed command returns 0 that was successful which is not correct behavior. The easiest test case is "tftpboot 80000
net: Return -EINTR when ctrl+c is pressed
Current behavior is that if CTRL+C is pressed command returns 0 that was successful which is not correct behavior. The easiest test case is "tftpboot 80000 uImage && echo yes" and press CTRL+C. Then the second command is called which is incorrect.
Error log: zynq-uboot> tftpb 80000 uImage && echo yes Gem.e000b000:7 is connected to Gem.e000b000. Reconnecting to Gem.e000b000 Gem.e000b000 Waiting for PHY auto negotiation to complete....... done Using Gem.e000b000 device TFTP from server 192.168.0.102; our IP address is 192.168.0.101 Filename 'uImage'. Load address: 0x80000 Loading: ################ Abort yes zynq-uboot>
This patch adds -EINTR return value when CTRL+C is pressed.
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 6e0d26c0 | 20-May-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
net: Handle ethaddr changes as an env callback
When the ethaddr is changed in the env, update the device pdata at the same time (only if it is probed for the DM case; only if registered for the non-
net: Handle ethaddr changes as an env callback
When the ethaddr is changed in the env, update the device pdata at the same time (only if it is probed for the DM case; only if registered for the non-DM case). Again this gets us closer to completely non-polled env needed to simplify the net_loop.
This requires that the NET feature select the REGEX feature.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 2d1febf7 | 20-May-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
net: Remove duplicate bootfile syncing functionality
The bootfile env var is already kept up to date by the callback in net.c so there is no need to poll it too.
Signed-off-by: Joe Hershberger <joe
net: Remove duplicate bootfile syncing functionality
The bootfile env var is already kept up to date by the callback in net.c so there is no need to poll it too.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 3c56fb82 | 08-Apr-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
net: Fix compile errors when SNTP enabled and not DATE
When SNTP is enabled and DATE is not, to_tm() is not built in. It could be defined when TIMESTAMP is defined, so check for that.
Signed-off-by
net: Fix compile errors when SNTP enabled and not DATE
When SNTP is enabled and DATE is not, to_tm() is not built in. It could be defined when TIMESTAMP is defined, so check for that.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 717234e0 | 08-Apr-2015 |
Sergey Temerkhanov <s.temerkhanov@gmail.com> |
net: Convert protocol structures to use explicit sizes
Convert uchar/ushort to u8/u16 respectively.
Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com> Signed-off-by: Sergey Temerkha
net: Convert protocol structures to use explicit sizes
Convert uchar/ushort to u8/u16 respectively.
Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com> Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 5917e7d1 | 08-Apr-2015 |
Sergey Temerkhanov <s.temerkhanov@gmail.com> |
net: Fix incorrect DHCP/BOOTP packets on 64-bit systems
This commit fixes incorrect DHCP/BOOTP packet layout caused by 'ulong' type size difference on 64 and 32-bit architectures. It also renames Ne
net: Fix incorrect DHCP/BOOTP packets on 64-bit systems
This commit fixes incorrect DHCP/BOOTP packet layout caused by 'ulong' type size difference on 64 and 32-bit architectures. It also renames NetReadLong()/NetCopyLong() to net_read_u32/net_copy_u32() accordingly.
Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com> Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|