Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/cavium/dev Use mips_lwu



details:   https://anonhg.NetBSD.org/src/rev/57838ea3d61e
branches:  trunk
changeset: 346406:57838ea3d61e
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jul 12 03:34:25 2016 +0000

description:
Use mips_lwu

diffstat:

 sys/arch/mips/cavium/dev/octeon_dwctwo.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7acc8ea3718e -r 57838ea3d61e sys/arch/mips/cavium/dev/octeon_dwctwo.c
--- a/sys/arch/mips/cavium/dev/octeon_dwctwo.c  Mon Jul 11 23:09:34 2016 +0000
+++ b/sys/arch/mips/cavium/dev/octeon_dwctwo.c  Tue Jul 12 03:34:25 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: octeon_dwctwo.c,v 1.8 2016/07/11 16:15:35 matt Exp $   */
+/*     $NetBSD: octeon_dwctwo.c,v 1.9 2016/07/12 03:34:25 matt Exp $   */
 
 /*
  * Copyright (c) 2015 Masao Uebayashi <uebayasi%tombiinc.com@localhost>
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: octeon_dwctwo.c,v 1.8 2016/07/11 16:15:35 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: octeon_dwctwo.c,v 1.9 2016/07/12 03:34:25 matt Exp $");
 
 #include "opt_octeon.h"
 #include "opt_usb.h"
@@ -321,7 +321,7 @@
 {
 
        /* dwc2 uses little-endian addressing */
-       return mips_lw((h + off) ^ 4);
+       return mips_lwu((h + off) ^ 4);
 }
 
 static void



Home | Main Index | Thread Index | Old Index