diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1998-09-08 03:05:53 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1998-09-08 03:05:53 +0000 |
commit | 4ecf0d152626250e288dc52185aafdc3dd884078 (patch) | |
tree | e092cdc73eacd091c523ff7d65e04d3a631c3db5 /sys/arch/sparc/dev | |
parent | e44014e89d80078f4a9f5f6751beb4e9012c420e (diff) |
changed order of ifmedia_add's (purely cosmetic)
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r-- | sys/arch/sparc/dev/be.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/be.c b/sys/arch/sparc/dev/be.c index 8af08361b8b..883d419703d 100644 --- a/sys/arch/sparc/dev/be.c +++ b/sys/arch/sparc/dev/be.c @@ -1,4 +1,4 @@ -/* $OpenBSD: be.c,v 1.10 1998/09/08 02:01:06 jason Exp $ */ +/* $OpenBSD: be.c,v 1.11 1998/09/08 03:05:52 jason Exp $ */ /* * Copyright (c) 1998 Theo de Raadt and Jason L. Wright. @@ -172,9 +172,9 @@ beattach(parent, self, aux) return; if (bmsr & PHY_BMSR_10BASET_HALF) { + ifmedia_add(&sc->sc_ifmedia, IFM_ETHER | IFM_10_T, 0, NULL); ifmedia_add(&sc->sc_ifmedia, IFM_ETHER | IFM_10_T | IFM_HDX, 0, NULL); - ifmedia_add(&sc->sc_ifmedia, IFM_ETHER | IFM_10_T, 0, NULL); sc->sc_ifmedia.ifm_media = IFM_ETHER | IFM_10_T | IFM_HDX; } @@ -185,9 +185,9 @@ beattach(parent, self, aux) } if (bmsr & PHY_BMSR_100BASETX_HALF) { + ifmedia_add(&sc->sc_ifmedia, IFM_ETHER | IFM_100_TX, 0, NULL); ifmedia_add(&sc->sc_ifmedia, IFM_ETHER | IFM_100_TX | IFM_HDX, 0, NULL); - ifmedia_add(&sc->sc_ifmedia, IFM_ETHER | IFM_100_TX, 0, NULL); sc->sc_ifmedia.ifm_media = IFM_ETHER | IFM_100_TX | IFM_HDX; } |