summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bge.c
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-11-26 06:01:29 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-11-26 06:01:29 +0000
commit6305f12c83ebd24f17abde19361cfec044ac75a7 (patch)
tree08b5799abbee81cbb004b151ad789ed837bd781f /sys/dev/pci/if_bge.c
parentb2b15e45eca7137f0e7fb63a1de580af95881196 (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_bge.c')
-rw-r--r--sys/dev/pci/if_bge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index ef382611832..65809a09afa 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.16 2002/11/26 05:09:36 nate Exp $ */
+/* $OpenBSD: if_bge.c,v 1.17 2002/11/26 06:01:28 nate Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2001
@@ -493,7 +493,7 @@ bge_miibus_statchg(dev)
struct mii_data *mii = &sc->bge_mii;
BGE_CLRBIT(sc, BGE_MAC_MODE, BGE_MACMODE_PORTMODE);
- if (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_TX) {
+ if (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T) {
BGE_SETBIT(sc, BGE_MAC_MODE, BGE_PORTMODE_GMII);
} else {
BGE_SETBIT(sc, BGE_MAC_MODE, BGE_PORTMODE_MII);