Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Fix a typo which caused the wrong register to be...



details:   https://anonhg.NetBSD.org/src/rev/b1b1f56ab3a0
branches:  trunk
changeset: 534705:b1b1f56ab3a0
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Aug 02 01:12:32 2002 +0000

description:
Fix a typo which caused the wrong register to be updated when
the media is not full-duplex.

diffstat:

 sys/dev/pci/if_pcn.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 1a8e78f3ddc6 -r b1b1f56ab3a0 sys/dev/pci/if_pcn.c
--- a/sys/dev/pci/if_pcn.c      Fri Aug 02 00:51:53 2002 +0000
+++ b/sys/dev/pci/if_pcn.c      Fri Aug 02 01:12:32 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_pcn.c,v 1.9 2002/05/03 00:16:12 thorpej Exp $       */
+/*     $NetBSD: if_pcn.c,v 1.10 2002/08/02 01:12:32 thorpej Exp $      */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.9 2002/05/03 00:16:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.10 2002/08/02 01:12:32 thorpej Exp $");
 
 #include "bpfilter.h"
 
@@ -2152,5 +2152,5 @@
        if ((sc->sc_mii.mii_media_active & IFM_FDX) != 0)
                pcn_bcr_write(sc, LE_BCR9, LE_B9_FDEN);
        else
-               pcn_bcr_write(sc, LE_BCR0, 0);
+               pcn_bcr_write(sc, LE_BCR9, 0);
 }



Home | Main Index | Thread Index | Old Index