Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Use correct register definition.



details:   https://anonhg.NetBSD.org/src/rev/cde8a072d56a
branches:  trunk
changeset: 343004:cde8a072d56a
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Mon Jan 18 02:45:05 2016 +0000

description:
Use correct register definition.

diffstat:

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

diffs (27 lines):

diff -r 09c2b44e1214 -r cde8a072d56a sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c    Mon Jan 18 00:34:43 2016 +0000
+++ b/sys/dev/usb/if_urtwn.c    Mon Jan 18 02:45:05 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_urtwn.c,v 1.40 2016/01/17 22:32:09 christos Exp $   */
+/*     $NetBSD: if_urtwn.c,v 1.41 2016/01/18 02:45:05 nonaka Exp $     */
 /*     $OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $       */
 
 /*-
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.40 2016/01/17 22:32:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.41 2016/01/18 02:45:05 nonaka Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -4562,7 +4562,7 @@
 
        reg = urtwn_read_2(sc, R92C_GPIO_MUXCFG + 2) & ~0x00f0;
        reg |= (((reg & 0x000f) << 4) | 0x0780);
-       urtwn_write_2(sc, R92C_GPIO_PIN_MUXCFG + 2, reg);
+       urtwn_write_2(sc, R92C_GPIO_MUXCFG + 2, reg);
 
        /* Disable LED0 & 1 */
        urtwn_write_2(sc, R92C_LEDCFG0, 0x8080);



Home | Main Index | Thread Index | Old Index