summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-06-25 21:53:45 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-06-25 21:53:45 +0000
commit6c73ba49bfd2b801892a2cc79853933cc93411e8 (patch)
tree4cfcbafefec1c8c0de6e23a1d882004e6b4e848e /sys/arch
parent160ec311706498ba282eb24e04296d50b08f629a (diff)
fix a typo in a comment and add the comment to the sparc hme driver.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/hme.c4
1 files changed, 3 insertions, 1 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;