]> git.ipfire.org Git - people/ms/u-boot.git/commit
driver: net: keystone_net: fix phy mode configuration
authorMugunthan V N <mugunthanvnm@ti.com>
Sat, 19 Sep 2015 10:56:48 +0000 (16:26 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:22:22 +0000 (14:22 -0400)
commitbf7bd4e725105fc0f6f43df6d01d85c6df3ce4eb
tree4f790c40770383a7ff622e6127e0b7e5c6f7dedf
parentcddb330035a7418c20b64fb8817715a2b7b7859a
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>
arch/arm/include/asm/ti-common/keystone_net.h
board/ti/ks2_evm/board_k2e.c
board/ti/ks2_evm/board_k2hk.c
board/ti/ks2_evm/board_k2l.c
drivers/net/keystone_net.c