]> git.baikalelectronics.ru Git - kernel.git/commit
net/mdio: fix mdio_bus_match for c45 PHY
authorShaohui Xie <Shaohui.Xie@freescale.com>
Fri, 17 Jul 2015 10:07:19 +0000 (18:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 07:16:37 +0000 (00:16 -0700)
commitf3e7764a8474fdede23153cc1d5d9526d1543081
treeab3acedbaf48b673869385e9c37103b855277021
parentbfe4aa7afb3911acf3bafc347d8eaba8e290206d
net/mdio: fix mdio_bus_match for c45 PHY

We store c45 PHY's id information in c45_ids, so it should be used to
check the matching between PHY driver and PHY device for c45 PHY.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c