diff options
author | wpaul <wpaul@FreeBSD.org> | 2000-10-31 00:06:39 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2000-10-31 00:06:39 +0000 |
commit | 6b4867d2a7d639c7f06420e96e4c7704a1a1ef0e (patch) | |
tree | a28cb929a878e19f612f9fbe180fa5421095e312 /sys/dev | |
parent | e8873159dd2a70ef05942f98b7a857ff94d0439a (diff) | |
download | FreeBSD-src-6b4867d2a7d639c7f06420e96e4c7704a1a1ef0e.zip FreeBSD-src-6b4867d2a7d639c7f06420e96e4c7704a1a1ef0e.tar.gz |
Call dc_apply_fixup() in dc_setcfg() for the MII case.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/dc/if_dc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index ca4e402..0d3f652 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -1347,6 +1347,8 @@ static void dc_setcfg(sc, media) if (!DC_IS_DAVICOM(sc)) DC_SETBIT(sc, DC_NETCFG, DC_NETCFG_PORTSEL); DC_CLRBIT(sc, DC_10BTCTRL, 0xFFFF); + if (DC_IS_INTEL(sc)) + dc_apply_fixup(sc, IFM_AUTO); } else { if (DC_IS_PNIC(sc)) { DC_PN_GPIO_SETBIT(sc, DC_PN_GPIO_SPEEDSEL); @@ -1385,6 +1387,8 @@ static void dc_setcfg(sc, media) if (!DC_IS_DAVICOM(sc)) DC_SETBIT(sc, DC_NETCFG, DC_NETCFG_PORTSEL); DC_CLRBIT(sc, DC_10BTCTRL, 0xFFFF); + if (DC_IS_INTEL(sc)) + dc_apply_fixup(sc, IFM_AUTO); } else { if (DC_IS_PNIC(sc)) { DC_PN_GPIO_CLRBIT(sc, DC_PN_GPIO_SPEEDSEL); |