diff options
| author | Warner Losh <imp@FreeBSD.org> | 2007-12-31 03:27:21 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2007-12-31 03:27:21 +0000 |
| commit | ac13f66337a6ee1bd5ba7350e2592bc98bf3afa0 (patch) | |
| tree | be08f73005630b34270271ccb0bf87a3e19e6a17 /sys/dev/ed | |
| parent | af0084c92ec09637036f4f0301c9a6fb1a96cb59 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ed')
| -rw-r--r-- | sys/dev/ed/if_ed_rtl80x9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed_rtl80x9.c b/sys/dev/ed/if_ed_rtl80x9.c index c6a7d76d7a87..695630756206 100644 --- a/sys/dev/ed/if_ed_rtl80x9.c +++ b/sys/dev/ed/if_ed_rtl80x9.c @@ -193,7 +193,7 @@ ed_rtl_get_media(struct ifnet *ifp, struct ifmediareq *imr) (ed_nic_inb(sc, ED_P0_CR) & (ED_CR_STA | ED_CR_STP))); switch (ed_nic_inb(sc, ED_RTL80X9_CONFIG0) - & (ED_CHIP_TYPE_RTL8029 ? ED_RTL80X9_CF0_BNC + & (sc->chip_type == ED_CHIP_TYPE_RTL8029 ? ED_RTL80X9_CF0_BNC : (ED_RTL80X9_CF0_AUI | ED_RTL80X9_CF0_BNC))) { case ED_RTL80X9_CF0_BNC: imr->ifm_active |= IFM_10_2; |
