net: mvgbe: fallback phy-mode to GMII
authorChris Packham <judge.packham@gmail.com>
Tue, 4 Dec 2018 06:54:30 +0000 (19:54 +1300)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 24 Jan 2019 17:35:29 +0000 (11:35 -0600)
commit92f129f4a098a47bbf889ea31e94edaa16edf256
tree1cc94792a41799604d60432d76f2fa57a8351756
parent3b4cda34d48ab997e788be5fb9cbd5151f1e7c2e
net: mvgbe: fallback phy-mode to GMII

Some existing device trees don't specify a phy-mode so fallback to GMII
when a phy-mode is not provided.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvgbe.c