Module Name:    src
Committed By:   jmcneill
Date:           Sun Sep 14 09:34:12 UTC 2014

Modified Files:
        src/sys/arch/arm/allwinner: awin_otg.c

Log Message:
__SHIFTOUT -> __SHIFTIN when writing to a reg


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/allwinner/awin_otg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/allwinner/awin_otg.c
diff -u src/sys/arch/arm/allwinner/awin_otg.c:1.2 src/sys/arch/arm/allwinner/awin_otg.c:1.3
--- src/sys/arch/arm/allwinner/awin_otg.c:1.2	Sat Sep 13 18:37:16 2014
+++ src/sys/arch/arm/allwinner/awin_otg.c	Sun Sep 14 09:34:12 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_otg.c,v 1.2 2014/09/13 18:37:16 jmcneill Exp $ */
+/* $NetBSD: awin_otg.c,v 1.3 2014/09/14 09:34:12 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014 Jared D. McNeill <[email protected]>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_otg.c,v 1.2 2014/09/13 18:37:16 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_otg.c,v 1.3 2014/09/14 09:34:12 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -109,8 +109,8 @@ awin_otg_attach(device_t parent, device_
 
 	awin_reg_set_clear(aio->aio_core_bst, aio->aio_core_bsh,
 	    AWIN_DRAM_OFFSET + AWIN_SRAM_CTL1_REG,
-	    __SHIFTOUT(AWIN_SRAM_CTL1_SRAMD_MAP_USB0,
-		       AWIN_SRAM_CTL1_SRAMD_MAP),
+	    __SHIFTIN(AWIN_SRAM_CTL1_SRAMD_MAP_USB0,
+		      AWIN_SRAM_CTL1_SRAMD_MAP),
 	    0);
 
 	sc->sc_motg.sc_dev = self;

Reply via email to