diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-06-25 21:53:45 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-06-25 21:53:45 +0000 |
commit | 6c73ba49bfd2b801892a2cc79853933cc93411e8 (patch) | |
tree | 4cfcbafefec1c8c0de6e23a1d882004e6b4e848e /sys | |
parent | 160ec311706498ba282eb24e04296d50b08f629a (diff) |
fix a typo in a comment and add the comment to the sparc hme driver.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/dev/hme.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/hme.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/hme.c b/sys/arch/sparc/dev/hme.c index 79f39af05d1..75883c28501 100644 --- a/sys/arch/sparc/dev/hme.c +++ b/sys/arch/sparc/dev/hme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hme.c,v 1.54 2006/06/02 20:00:54 miod Exp $ */ +/* $OpenBSD: hme.c,v 1.55 2006/06/25 21:53:44 brad Exp $ */ /* * Copyright (c) 1998 Jason L. Wright (jason@thought.net) @@ -1231,6 +1231,8 @@ hme_mii_statchg(self) struct hme_softc *sc = (struct hme_softc *)self; struct hme_cr *cr = sc->sc_cr; + /* Apparently the hme chip is SIMPLEX if working in full duplex mode, + but not otherwise. */ if ((IFM_OPTIONS(sc->sc_mii.mii_media_active) & IFM_FDX) != 0) { cr->tx_cfg |= CR_TXCFG_FULLDPLX; sc->sc_arpcom.ac_if.if_flags |= IFF_SIMPLEX; diff --git a/sys/dev/ic/hme.c b/sys/dev/ic/hme.c index 77eb4d1023e..9da71267971 100644 --- a/sys/dev/ic/hme.c +++ b/sys/dev/ic/hme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hme.c,v 1.42 2006/03/25 22:41:43 djm Exp $ */ +/* $OpenBSD: hme.c,v 1.43 2006/06/25 21:53:44 brad Exp $ */ /* $NetBSD: hme.c,v 1.21 2001/07/07 15:59:37 thorpej Exp $ */ /*- @@ -1140,7 +1140,7 @@ hme_mii_statchg(dev) #endif /* Set the MAC Full Duplex bit appropriately */ - /* Apparently the hme chip is SIMPLE if working in full duplex mode, + /* Apparently the hme chip is SIMPLEX if working in full duplex mode, but not otherwise. */ v = bus_space_read_4(t, mac, HME_MACI_TXCFG); if ((IFM_OPTIONS(sc->sc_mii.mii_media_active) & IFM_FDX) != 0) { |