diff options
author | phk <phk@FreeBSD.org> | 2002-04-28 20:34:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-28 20:34:20 +0000 |
commit | e67296b3b06948c8abac60000a1a1b3fd9d271f7 (patch) | |
tree | 57f15bd8169ec54566fa5890d74e3139943e0ce4 /sys/dev/em | |
parent | f8c369f7e5ced10460a44577e47774f38701b831 (diff) | |
download | FreeBSD-src-e67296b3b06948c8abac60000a1a1b3fd9d271f7.zip FreeBSD-src-e67296b3b06948c8abac60000a1a1b3fd9d271f7.tar.gz |
Follow NetBSD and s/IFM_1000_TX/IFM_1000_T/
Diffstat (limited to 'sys/dev/em')
-rw-r--r-- | sys/dev/em/if_em.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c index e641037..018f669 100644 --- a/sys/dev/em/if_em.c +++ b/sys/dev/em/if_em.c @@ -1010,7 +1010,7 @@ em_media_status(struct ifnet *ifp, struct ifmediareq *ifmr) ifmr->ifm_active |= IFM_100_TX; break; case 1000: - ifmr->ifm_active |= IFM_1000_TX; + ifmr->ifm_active |= IFM_1000_T; break; } if (adapter->link_duplex == FULL_DUPLEX) @@ -1050,7 +1050,7 @@ em_media_change(struct ifnet *ifp) } break; case IFM_1000_SX: - case IFM_1000_TX: + case IFM_1000_T: adapter->shared.autoneg = DO_AUTO_NEG; adapter->shared.autoneg_advertised = ADVERTISE_1000_FULL; break; @@ -1297,9 +1297,9 @@ em_setup_interface(device_t dev, struct adapter * adapter) ifmedia_add(&adapter->media, IFM_ETHER | IFM_100_TX, 0, NULL); ifmedia_add(&adapter->media, IFM_ETHER | IFM_100_TX | IFM_FDX, 0, NULL); - ifmedia_add(&adapter->media, IFM_ETHER | IFM_1000_TX | IFM_FDX, 0, + ifmedia_add(&adapter->media, IFM_ETHER | IFM_1000_T | IFM_FDX, 0, NULL); - ifmedia_add(&adapter->media, IFM_ETHER | IFM_1000_TX, 0, NULL); + ifmedia_add(&adapter->media, IFM_ETHER | IFM_1000_T, 0, NULL); } ifmedia_add(&adapter->media, IFM_ETHER | IFM_AUTO, 0, NULL); ifmedia_set(&adapter->media, IFM_ETHER | IFM_AUTO); |