
Keystone net has multiple slave ethernets, register each slave as individual ethernet so that tftp can be used on any of the ethernet ports.
Tested the series on K2HK, K2L, K2E (logs [1]). Also pushed a branch for testing [2]
With the patch series there is a checkpatch warning and it can be ignored as it is error log which helps to grep the text.
[1] - http://pastebin.ubuntu.com/21861232/ [2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git k2net-multi-slave
WARNING: line over 80 characters #143: FILE: drivers/net/keystone_net.c:1011: + error("ks2_net - not able to bind slave interfaces\n");
total: 0 errors, 1 warnings, 0 checks, 276 lines checked
NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE NETWORKING_BLOCK_COMMENT_STYLE PREFER_ETHER_ADDR_COPY USLEEP_RANGE
patches/multi-port-support/v1.00/0002-drivers-net-keystone_net-add-support-for-multi-slave.patch has style problems, please review.
Mugunthan V N (5): drivers: net: keystone_net: fix line termination with semi-colon drivers: net: keystone_net: add support for multi slave ethernet configs: k2hk_evm: add random eth address support configs: k2e_evm: add random eth address support configs: k2l_evm: add random eth address support
configs/k2e_evm_defconfig | 2 + configs/k2hk_evm_defconfig | 2 + configs/k2l_evm_defconfig | 2 + drivers/net/keystone_net.c | 228 +++++++++++++++++++++++++++++++++++---------- 4 files changed, 186 insertions(+), 48 deletions(-)