diff options
Diffstat (limited to 'sys/dev/pci/if_ti.c')
-rw-r--r-- | sys/dev/pci/if_ti.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c index 8aca9b39d64..11f0fd7225c 100644 --- a/sys/dev/pci/if_ti.c +++ b/sys/dev/pci/if_ti.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ti.c,v 1.39 2002/11/19 18:40:17 jason Exp $ */ +/* $OpenBSD: if_ti.c,v 1.40 2002/11/26 06:01:28 nate Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -1635,9 +1635,9 @@ ti_attach(parent, self, aux) ifmedia_add(&sc->ifmedia, IFM_ETHER|IFM_100_TX, 0, NULL); ifmedia_add(&sc->ifmedia, IFM_ETHER|IFM_100_TX|IFM_FDX, 0, NULL); - ifmedia_add(&sc->ifmedia, IFM_ETHER|IFM_1000_TX, 0, NULL); + ifmedia_add(&sc->ifmedia, IFM_ETHER|IFM_1000_T, 0, NULL); ifmedia_add(&sc->ifmedia, - IFM_ETHER|IFM_1000_TX|IFM_FDX, 0, NULL); + IFM_ETHER|IFM_1000_T|IFM_FDX, 0, NULL); } else { /* Fiber cards don't support 10/100 modes. */ ifmedia_add(&sc->ifmedia, IFM_ETHER|IFM_1000_SX, 0, NULL); @@ -2182,7 +2182,7 @@ int ti_ifmedia_upd(ifp) TI_CMD_CODE_NEGOTIATE_BOTH, 0); break; case IFM_1000_SX: - case IFM_1000_TX: + case IFM_1000_T: CSR_WRITE_4(sc, TI_GCR_GLINK, TI_GLNK_PREF|TI_GLNK_1000MB| TI_GLNK_RX_FLOWCTL_Y|TI_GLNK_ENB); CSR_WRITE_4(sc, TI_GCR_LINK, 0); @@ -2240,7 +2240,7 @@ void ti_ifmedia_sts(ifp, ifmr) if (sc->ti_linkstat == TI_EV_CODE_GIG_LINK_UP) { media = CSR_READ_4(sc, TI_GCR_GLINK_STAT); if (sc->ti_copper) - ifmr->ifm_active |= IFM_1000_TX; + ifmr->ifm_active |= IFM_1000_T; else ifmr->ifm_active |= IFM_1000_SX; if (media & TI_GLNK_FULL_DUPLEX) |