NET: Add Ethernet 1000BASE-X support for PPC4xx
authorLarry Johnson <lrj@arlinx.com>
Thu, 1 Nov 2007 13:46:50 +0000 (08:46 -0500)
committerBen Warren <bwarren@qstreams.com>
Tue, 6 Nov 2007 15:25:33 +0000 (10:25 -0500)
commit71bc6e6474fea8ef481b9b45d1edd7ad1f6dfbbd
treec32a4d7cf7ee4c70f6f8d30af3347dd52090793b
parent298035df4948b113d29ac0e694717d34b95bc5dc
NET: Add Ethernet 1000BASE-X support for PPC4xx

This patch adds support for 1000BASE-X to functions "miiphy_speed ()" and
"miiphy_duplex()".  It also adds function "miiphy_is_1000base_x ()", which
returns non-zero iff the PHY registers are configured for 1000BASE-X.  The
"mii info" command is modified to distinguish between 1000BASE-T and -X.

Signed-off-by: Larry Johnson <lrj@acm.org>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
common/cmd_mii.c
common/miiphyutil.c
include/miiphy.h