Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/allwinner __SHIFTOUT -> __SHIFTIN when writing ...
details: https://anonhg.NetBSD.org/src/rev/d65e5c8b63f4
branches: trunk
changeset: 332294:d65e5c8b63f4
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Sep 14 09:34:12 2014 +0000
description:
__SHIFTOUT -> __SHIFTIN when writing to a reg
diffstat:
sys/arch/arm/allwinner/awin_otg.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 95f724ac811d -r d65e5c8b63f4 sys/arch/arm/allwinner/awin_otg.c
--- a/sys/arch/arm/allwinner/awin_otg.c Sun Sep 14 09:32:11 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_otg.c Sun Sep 14 09:34:12 2014 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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_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;
Home |
Main Index |
Thread Index |
Old Index