diff options
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/bfe/if_bfe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/bfe/if_bfe.c b/sys/dev/bfe/if_bfe.c index a6b79b353e30..4d3cb164c115 100644 --- a/sys/dev/bfe/if_bfe.c +++ b/sys/dev/bfe/if_bfe.c @@ -652,7 +652,10 @@ bfe_miibus_statchg(device_t dev) { struct bfe_softc *sc; struct mii_data *mii; - u_int32_t val, flow; + u_int32_t val; +#ifdef notyet + u_int32_t flow; +#endif sc = device_get_softc(dev); mii = device_get_softc(sc->bfe_miibus); @@ -675,7 +678,6 @@ bfe_miibus_statchg(device_t dev) val &= ~BFE_TX_DUPLEX; if ((IFM_OPTIONS(mii->mii_media_active) & IFM_FDX) != 0) { val |= BFE_TX_DUPLEX; - flow = 0; #ifdef notyet flow = CSR_READ_4(sc, BFE_RXCONF); flow &= ~BFE_RXCONF_FLOW; |
