diff options
| author | Doug White <dwhite@FreeBSD.org> | 2005-05-05 03:37:27 +0000 |
|---|---|---|
| committer | Doug White <dwhite@FreeBSD.org> | 2005-05-05 03:37:27 +0000 |
| commit | 2eb15b93751924d065a9f0f30bdf18f3646a7b38 (patch) | |
| tree | 1998933e8c6ffdedc4529c6a8d61b2a231a71a1f /sys/dev/bge | |
| parent | 89af2d42831c57c1c000f3c6247a80cdba16e48f (diff) | |
Notes
Diffstat (limited to 'sys/dev/bge')
| -rw-r--r-- | sys/dev/bge/if_bge.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index aadc2411fa184..bf785edf7c6db 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -3435,23 +3435,6 @@ bge_ifmedia_upd(ifp) return(EINVAL); switch(IFM_SUBTYPE(ifm->ifm_media)) { case IFM_AUTO: - /* - * The BCM5704 ASIC appears to have a special - * mechanism for programming the autoneg - * advertisement registers in TBI mode. - */ - if (sc->bge_asicrev == BGE_ASICREV_BCM5704) { - uint32_t sgdig; - CSR_WRITE_4(sc, BGE_TX_TBI_AUTONEG, 0); - sgdig = CSR_READ_4(sc, BGE_SGDIG_CFG); - sgdig |= BGE_SGDIGCFG_AUTO| - BGE_SGDIGCFG_PAUSE_CAP| - BGE_SGDIGCFG_ASYM_PAUSE; - CSR_WRITE_4(sc, BGE_SGDIG_CFG, - sgdig|BGE_SGDIGCFG_SEND); - DELAY(5); - CSR_WRITE_4(sc, BGE_SGDIG_CFG, sgdig); - } break; case IFM_1000_SX: if ((ifm->ifm_media & IFM_GMASK) == IFM_FDX) { |
