uboot-mt623x/drivers/net/phy
Richard Retanubun 3f6b18ffd9 MIIPHYBB: Return 0xFFFF if the PHY is not asserting TA.
This patch sets the returned value to 0xFFFF if the PHY does not exist
and does not assert Transfer Acknowledge. A NULL check for the value
pointer is also added for buffer overflow protection.

Without this patch 'mii info' will  show 'phantom' devices because the
value will be not be initialized and return with some random value.

Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2009-07-22 22:53:44 -07:00
..
Makefile Marvell MV88E61XX Switch Driver support 2009-06-15 00:13:54 -07:00
miiphybb.c MIIPHYBB: Return 0xFFFF if the PHY is not asserting TA. 2009-07-22 22:53:44 -07:00
mv88e61xx.c Marvell MV88E61XX Switch Driver support 2009-06-15 00:13:54 -07:00
mv88e61xx.h Marvell MV88E61XX Switch Driver support 2009-06-15 00:13:54 -07:00