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 44ad569648a5 (may be ...



details:   https://anonhg.NetBSD.org/src-all/rev/d91fea9d78be
branches:  trunk
changeset: 987870:d91fea9d78be
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Mon Sep 20 17:00:22 2021 +0200

description:
Backed out changeset 44ad569648a5 (may be redone differently later)

diffstat:

 sys/dev/usb/if_urtwn.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r 0f4446eecaab -r d91fea9d78be sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c    Sat Oct 02 02:07:41 2021 +0000
+++ b/sys/dev/usb/if_urtwn.c    Mon Sep 20 17:00:22 2021 +0200
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_urtwn.c,v 1.100 2021/09/17 13:02:52 nat Exp $       */
+/*     $NetBSD: if_urtwn.c,v 1.99 2021/09/17 13:00:20 nat Exp $        */
 /*     $OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $       */
 
 /*-
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.100 2021/09/17 13:02:52 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.99 2021/09/17 13:00:20 nat Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -3088,7 +3088,6 @@
 
        /* Unlock ISO/CLK/Power control register. */
        urtwn_write_1(sc, R92C_RSV_CTRL, 0);
-       DELAY(5);
        /* Move SPS into PWM mode. */
        urtwn_write_1(sc, R92C_SPS0_CTRL, 0x2b);
        DELAY(5);
@@ -3154,9 +3153,6 @@
        urtwn_write_2(sc, R92C_CR, reg);
 
        urtwn_write_1(sc, 0xfe10, 0x19);
-
-       urtwn_delay_ms(sc, 1);
-
        return 0;
 }
 



Home | Main Index | Thread Index | Old Index