driver: net: keystone_net: fix phy mode configuration
Phy mode is a board property and it can be different between multiple board and ports, so it should not be hardcoded in driver to one specific mode. So adding a field in eth_priv_t structure to pass phy mode to driver. Signed-off-by:Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
Showing
- arch/arm/include/asm/ti-common/keystone_net.h 2 additions, 0 deletionsarch/arm/include/asm/ti-common/keystone_net.h
- board/ti/ks2_evm/board_k2e.c 8 additions, 0 deletionsboard/ti/ks2_evm/board_k2e.c
- board/ti/ks2_evm/board_k2hk.c 4 additions, 0 deletionsboard/ti/ks2_evm/board_k2hk.c
- board/ti/ks2_evm/board_k2l.c 4 additions, 0 deletionsboard/ti/ks2_evm/board_k2l.c
- drivers/net/keystone_net.c 2 additions, 2 deletionsdrivers/net/keystone_net.c
Please register or sign in to comment