OSDN Git Service

net/phy: tune get_phy_c45_ids to support more c45 phy
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Fri, 26 Jun 2015 09:58:52 +0000 (17:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jun 2015 00:05:58 +0000 (17:05 -0700)
commitda1da284d7b271c77007e6dd6fa1fff54eaa7492
tree4881799b04ca098cc8786391441fea4937c3bc1d
parentd53c66a5b80698620f7c9ba2372fff4017e987b8
net/phy: tune get_phy_c45_ids to support more c45 phy

As some C45 10G PHYs(e.g. Cortina CS4315/CS4340 PHY) have
zero Devices In package, current driver can't get correct
devices_in_package value by non-zero Devices In package.
so let's probe more with zero Devices In package to support
more C45 PHYs.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c