Home
last modified time | relevance | path

Searched hist:ee8fa20f54c9705218a5c21e7db7d4ba1c124b98 (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/linux/
H A Dmdio.hee8fa20f54c9705218a5c21e7db7d4ba1c124b98 Wed May 18 13:44:19 UTC 2011 Andy Fleming <afleming@freescale.com> phylib: Detect link on 10G devices correctly

gen10g_startup() had 2 bugs:

1) It had a boolean logic error in checking the MMD mask, and
always checked all of them.

2) It checked devices which don't actually report link state, which
meant that it would never believe the link was fully up.

Fix the boolean logic, and then mask the MMD mask so only link-reporting
devices are checked.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Reported-by: Ed Swarthout <Ed.Swarthout@freescale.com>
/rk3399_rockchip-uboot/drivers/net/phy/
H A Dgeneric_10g.cee8fa20f54c9705218a5c21e7db7d4ba1c124b98 Wed May 18 13:44:19 UTC 2011 Andy Fleming <afleming@freescale.com> phylib: Detect link on 10G devices correctly

gen10g_startup() had 2 bugs:

1) It had a boolean logic error in checking the MMD mask, and
always checked all of them.

2) It checked devices which don't actually report link state, which
meant that it would never believe the link was fully up.

Fix the boolean logic, and then mask the MMD mask so only link-reporting
devices are checked.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Reported-by: Ed Swarthout <Ed.Swarthout@freescale.com>