]> git.dujemihanovic.xyz Git - u-boot.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)
commita3cb5340f12425537d6c94d8e95d570f6d6a504b
tree15bbf888ba2826dbfc8649c7a43f1cc9e4a153dd
parentf259c43d893071e3a4f43536735c959dcf320d99
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