summaryrefslogtreecommitdiffstats
path: root/sys/mips/nlm/dev/net/sgmii.c
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2013-01-24 15:14:22 +0000
committerjchandra <jchandra@FreeBSD.org>2013-01-24 15:14:22 +0000
commitfbe181c5230d8e563277939bd6fb652a637d82b2 (patch)
tree5fed1cb901e600f749a159d5a6bab33122231aee /sys/mips/nlm/dev/net/sgmii.c
parentada55007d771831648c36ecf9a8cba4a4f26a25b (diff)
downloadFreeBSD-src-fbe181c5230d8e563277939bd6fb652a637d82b2.zip
FreeBSD-src-fbe181c5230d8e563277939bd6fb652a637d82b2.tar.gz
Broadcom XLP network driver update for XLP 8xx B1 rev
Update MDIO reset code to support Broadcom XLP B1 revisions. Update nlm_xlpge_ioctl, nlm_xlpge_port_enable need not be called after nlm_xlpge_init. Obtained from: Venkatesh J V <venkatesh.vivekanandan@broadcom.com>
Diffstat (limited to 'sys/mips/nlm/dev/net/sgmii.c')
-rw-r--r--sys/mips/nlm/dev/net/sgmii.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/mips/nlm/dev/net/sgmii.c b/sys/mips/nlm/dev/net/sgmii.c
index 91f5f7a..18b1411 100644
--- a/sys/mips/nlm/dev/net/sgmii.c
+++ b/sys/mips/nlm/dev/net/sgmii.c
@@ -69,13 +69,6 @@ nlm_configure_sgmii_interface(uint64_t nae_base, int block, int port,
void
nlm_sgmii_pcs_init(uint64_t nae_base, uint32_t cplx_mask)
{
- /* reset internal MDIO */
- nlm_int_gmac_mdio_reset(nae_base, 0, BLOCK_7, LANE_CFG);
-
- /* reset external MDIO */
- nlm_gmac_mdio_reset(nae_base, 0, BLOCK_7, LANE_CFG);
- nlm_gmac_mdio_reset(nae_base, 1, BLOCK_7, LANE_CFG);
-
xlp_nae_config_lane_gmac(nae_base, cplx_mask);
}
OpenPOWER on IntegriCloud