summaryrefslogtreecommitdiff
path: root/sys/dev/ic/gem.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/ic/gem.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/ic/gem.c')
-rw-r--r--sys/dev/ic/gem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c
index beacde2f72a..67c345b61a5 100644
--- a/sys/dev/ic/gem.c
+++ b/sys/dev/ic/gem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gem.c,v 1.28 2002/09/22 15:56:17 jason Exp $ */
+/* $OpenBSD: gem.c,v 1.29 2002/11/26 06:01:27 nate Exp $ */
/* $NetBSD: gem.c,v 1.1 2001/09/16 00:11:43 eeh Exp $ */
/*
@@ -302,7 +302,7 @@ gem_config(sc)
* Unless we are Apple.
*/
TAILQ_FOREACH(ifm, &sc->sc_media.ifm_list, ifm_list) {
- if (IFM_SUBTYPE(ifm->ifm_media) == IFM_1000_TX ||
+ if (IFM_SUBTYPE(ifm->ifm_media) == IFM_1000_T ||
IFM_SUBTYPE(ifm->ifm_media) == IFM_1000_SX ||
IFM_SUBTYPE(ifm->ifm_media) == IFM_1000_LX ||
IFM_SUBTYPE(ifm->ifm_media) == IFM_1000_CX) {
@@ -1304,7 +1304,7 @@ gem_mii_statchg(dev)
v |= GEM_MAC_XIF_ECHO_DISABL;
switch (IFM_SUBTYPE(sc->sc_mii.mii_media_active)) {
- case IFM_1000_TX: /* Gigabit using GMII interface */
+ case IFM_1000_T: /* Gigabit using GMII interface */
v |= GEM_MAC_XIF_GMII_MODE;
break;
default: