Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/usb Backed out changeset e8d4991f10bb (may be ...
details: https://anonhg.NetBSD.org/src-all/rev/84518b4cfd2a
branches: trunk
changeset: 375389:84518b4cfd2a
user: Martin Husemann <martin%NetBSD.org@localhost>
date: Mon Sep 20 17:01:29 2021 +0200
description:
Backed out changeset e8d4991f10bb (may be redone differently later)
diffstat:
sys/dev/usb/if_urtwn.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diffs (26 lines):
diff -r 3ae93ab18058 -r 84518b4cfd2a sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c Mon Sep 20 17:00:22 2021 +0200
+++ b/sys/dev/usb/if_urtwn.c Mon Sep 20 17:01:29 2021 +0200
@@ -3365,10 +3365,7 @@ urtwn_fw_reset(struct urtwn_softc *sc)
KASSERT(mutex_owned(&sc->sc_write_mtx));
/* Tell 8051 to reset itself. */
- mutex_enter(&sc->sc_fwcmd_mtx);
urtwn_write_1(sc, R92C_HMETFR + 3, 0x20);
- sc->fwcur = 0;
- mutex_exit(&sc->sc_fwcmd_mtx);
/* Wait until 8051 resets by itself. */
for (ntries = 0; ntries < 100; ntries++) {
@@ -3410,11 +3407,6 @@ urtwn_r88e_fw_reset(struct urtwn_softc *
}
DELAY(50);
- mutex_enter(&sc->sc_fwcmd_mtx);
- /* Init firmware commands ring. */
- sc->fwcur = 0;
- mutex_exit(&sc->sc_fwcmd_mtx);
-
}
static int
Home |
Main Index |
Thread Index |
Old Index