]> git.baikalelectronics.ru Git - uboot.git/commit
driver: net: fsl-mc: Modify the dpmac link detection method
authorPankaj Bansal <pankaj.bansal@nxp.com>
Wed, 10 Oct 2018 08:38:32 +0000 (14:08 +0530)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:45:01 +0000 (12:45 -0500)
commit44510a97946da598a8e39088f8f5e6eba29e67fc
tree15bbf888ba2826dbfc8649c7a43f1cc9e4a153dd
parenta1c92c5eeb05d5ce7a919047b962f77fe8193d04
driver: net: fsl-mc: Modify the dpmac link detection method

when there is no phy present for a dpmac, a dummy phy device is created.
when we move to multiple phy method, we need to create as many dummy phy
devices.

Change this method so that we don't need to create dummy phy devices.
We always report linkup if no phy is present.

Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/ldpaa_eth/ldpaa_eth.c