]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e7ee3d62aeaa9431ea883120883f34feee9bd26
tree4881799b04ca098cc8786391441fea4937c3bc1d
parentf42888554777f93d2da6f47259a71cce93724dba
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