Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix register offset of SYNC_SET for FH phy.



details:   https://anonhg.NetBSD.org/src/rev/7bc27830dcf4
branches:  trunk
changeset: 515194:7bc27830dcf4
user:      onoe <onoe%NetBSD.org@localhost>
date:      Tue Sep 18 23:19:08 2001 +0000

description:
Fix register offset of SYNC_SET for FH phy.

diffstat:

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

diffs (21 lines):

diff -r b86bae2e08ba -r 7bc27830dcf4 sys/dev/ic/awi.c
--- a/sys/dev/ic/awi.c  Tue Sep 18 20:20:26 2001 +0000
+++ b/sys/dev/ic/awi.c  Tue Sep 18 23:19:08 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awi.c,v 1.37 2001/09/18 09:09:58 onoe Exp $    */
+/*     $NetBSD: awi.c,v 1.38 2001/09/18 23:19:08 onoe Exp $    */
 
 /*-
  * Copyright (c) 1999,2000,2001 The NetBSD Foundation, Inc.
@@ -1860,9 +1860,9 @@
                        sc->sc_cmd_inprog = AWI_CMD_SYNC;
                        if (sc->sc_mib_phy.IEEE_PHY_Type == AWI_PHY_TYPE_FH) {
                                if (sc->sc_fhset_one)
-                                       awi_write_1(sc, AWI_CA_SCAN_SET, 1);
+                                       awi_write_1(sc, AWI_CA_SYNC_SET, 1);
                                else
-                                       awi_write_1(sc, AWI_CA_SCAN_SET,
+                                       awi_write_1(sc, AWI_CA_SYNC_SET,
                                            bs->bs_chan % 3 + 1);
                                awi_write_1(sc, AWI_CA_SYNC_IDX, 1);
                        } else {



Home | Main Index | Thread Index | Old Index