]> git.baikalelectronics.ru Git - kernel.git/commit
phy: fix phy_id detection also for broken hardware.
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>
Fri, 21 Nov 2008 04:43:18 +0000 (20:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2008 04:43:18 +0000 (20:43 -0800)
commitb9ef590ba0e9da2258ca7de840b58560db4bf58e
tree94aa2423de352bdabeb0b6f35d27fc6eb8bf422d
parent118d5361b82479d3b17bbdb06f1fc8d111397335
phy: fix phy_id detection also for broken hardware.

This patch fixes the case when the phy_ids is mostly Fs and in some case 0x0
due to broken hardware.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c