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 43c05566916a (may be ...
details: https://anonhg.NetBSD.org/src-all/rev/b981543a6007
branches: trunk
changeset: 370752:b981543a6007
user: Martin Husemann <martin%NetBSD.org@localhost>
date: Mon Sep 20 17:02:23 2021 +0200
description:
Backed out changeset 43c05566916a (may be redone differently later)
diffstat:
sys/dev/usb/if_urtwn.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 13152538032b -r b981543a6007 sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c Mon Sep 20 17:01:52 2021 +0200
+++ b/sys/dev/usb/if_urtwn.c Mon Sep 20 17:02:23 2021 +0200
@@ -1114,7 +1114,7 @@
for (ntries = 0; ntries < 100; ntries++) {
if (!(urtwn_read_1(sc, R92C_HMETFR) & (1 << fwcur)))
break;
- urtwn_delay_ms(sc, 2);
+ DELAY(2000);
}
if (ntries == 100) {
aprint_error_dev(sc->sc_dev,
@@ -1197,16 +1197,16 @@
urtwn_bb_write(sc, R92C_HSSI_PARAM2(0),
reg[0] & ~R92C_HSSI_PARAM2_READ_EDGE);
- urtwn_delay_ms(sc, 1);
+ DELAY(1000);
urtwn_bb_write(sc, R92C_HSSI_PARAM2(chain),
RW(reg[chain], R92C_HSSI_PARAM2_READ_ADDR, addr) |
R92C_HSSI_PARAM2_READ_EDGE);
- urtwn_delay_ms(sc, 1);
+ DELAY(1000);
urtwn_bb_write(sc, R92C_HSSI_PARAM2(0),
reg[0] | R92C_HSSI_PARAM2_READ_EDGE);
- urtwn_delay_ms(sc, 1);
+ DELAY(1000);
if (urtwn_bb_read(sc, R92C_HSSI_PARAM1(chain)) & R92C_HSSI_PARAM1_PI) {
val = urtwn_bb_read(sc, R92C_HSPI_READBACK(chain));
Home |
Main Index |
Thread Index |
Old Index