diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2002-11-26 06:01:29 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2002-11-26 06:01:29 +0000 |
commit | 6305f12c83ebd24f17abde19361cfec044ac75a7 (patch) | |
tree | 08b5799abbee81cbb004b151ad789ed837bd781f /sys/dev/pci/if_lge.c | |
parent | b2b15e45eca7137f0e7fb63a1de580af95881196 (diff) |
1000baseTX -> 1000baseT
- More technically correct
- Matches FreeBSD and NetBSD
- Preserved #define for 1000baseTX for backwards compatibility
ok jason@
Diffstat (limited to 'sys/dev/pci/if_lge.c')
-rw-r--r-- | sys/dev/pci/if_lge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c index d0338d6efaa..5d9fb4f1258 100644 --- a/sys/dev/pci/if_lge.c +++ b/sys/dev/pci/if_lge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lge.c,v 1.10 2002/07/10 18:08:13 deraadt Exp $ */ +/* $OpenBSD: if_lge.c,v 1.11 2002/11/26 06:01:28 nate Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -303,7 +303,7 @@ void lge_miibus_statchg(dev) LGE_CLRBIT(sc, LGE_GMIIMODE, LGE_GMIIMODE_SPEED); switch (IFM_SUBTYPE(mii->mii_media_active)) { - case IFM_1000_TX: + case IFM_1000_T: case IFM_1000_SX: LGE_SETBIT(sc, LGE_GMIIMODE, LGE_SPEED_1000); break; @@ -1147,7 +1147,7 @@ void lge_tick(xsc) IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) { sc->lge_link++; if (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_SX|| - IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_TX) + IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T) printf("%s: gigabit link up\n", sc->sc_dv.dv_xname); if (!IFQ_IS_EMPTY(&ifp->if_snd)) |