diff options
| author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-05-12 14:27:28 +0000 |
|---|---|---|
| committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-05-12 14:27:28 +0000 |
| commit | 6ac75c91b7669497c9e5efc24a4b9256c038db29 (patch) | |
| tree | 4a1a47213c37b398a37d238903b64d8cba98f24b /sys/dev/bm | |
| parent | 7bd2d458c25fa25523aacbbcd33b3565cb5d6af4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/bm')
| -rw-r--r-- | sys/dev/bm/if_bm.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/dev/bm/if_bm.c b/sys/dev/bm/if_bm.c index 481d7cb5a900..1977f92b64a1 100644 --- a/sys/dev/bm/if_bm.c +++ b/sys/dev/bm/if_bm.c @@ -1130,21 +1130,11 @@ bm_chip_setup(struct bm_softc *sc) { uint16_t reg; uint16_t *eaddr_sect; - struct mii_data *mii; - struct mii_softc *miisc; eaddr_sect = (uint16_t *)(sc->sc_enaddr); dbdma_stop(sc->sc_txdma); dbdma_stop(sc->sc_rxdma); - /* Reset MII */ - mii = device_get_softc(sc->sc_miibus); - LIST_FOREACH(miisc, &mii->mii_phys, mii_list) { - PHY_RESET(miisc); - PHY_WRITE(miisc, MII_BMCR, PHY_READ(miisc, MII_BMCR) & - ~BMCR_ISO); - } - /* Reset chip */ CSR_WRITE_2(sc, BM_RX_RESET, 0x0000); CSR_WRITE_2(sc, BM_TX_RESET, 0x0001); |
