]> git.baikalelectronics.ru Git - uboot.git/commit
net: mvpp2: Move probe function from MISC to ETH DM driver
authorStefan Roese <sr@denx.de>
Thu, 16 Feb 2017 14:26:06 +0000 (15:26 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:42:11 +0000 (07:42 +0200)
commit1aae031188a9fb7a7aba26ba5fc17e5057bf5e77
treee342e470fd0c516a38a79f378c66b42922732ee1
parent167ae27b3e09743f8135ee9d0ed76e88b959ab42
net: mvpp2: Move probe function from MISC to ETH DM driver

This patch moves the base_probe function mvpp2_base_probe() from the
MISC driver to the ETH driver. When integrated in the MISC driver,
probe is called too early before the U-Boot ethernet infrastructure
(especially the MDIO / PHY interface) has been initialized. Resulting
in errors in mdio_register().

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c