]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: net: bcm-sf2: pass -1 to phy_connect()
authorAlex Marginean <alexandru.marginean@nxp.com>
Thu, 19 Dec 2019 12:35:37 +0000 (14:35 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 20 Dec 2019 16:02:23 +0000 (10:02 -0600)
commit489fba2a09e403669c14428c0e2e61c033bf7fc5
tree3d64eafd22a2d2596567a98e5b507fc58bf63f7c
parenta75dc89a9be7e7fe2a934e6ca562fe1551e0a5ab
drivers: net: bcm-sf2: pass -1 to phy_connect()

Passing 0 to PHY connect used to trigger a MDIO scan due to a bug fixed in
the meantime.  It's unclear if bcm-sf2 wants to connect to PHY @ addr 0 or
is scanning the bus, passing -1 here should keep it functional either way.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Cc: Jiandong Zheng <jdzheng@broadcom.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/bcm-sf2-eth.c