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 fix some more registers



details:   https://anonhg.NetBSD.org/src/rev/95f724ac811d
branches:  trunk
changeset: 332293:95f724ac811d
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Sep 14 09:32:11 2014 +0000

description:
fix some more registers

diffstat:

 sys/arch/arm/allwinner/awin_otgreg.h |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r e3d9727ebac2 -r 95f724ac811d sys/arch/arm/allwinner/awin_otgreg.h
--- a/sys/arch/arm/allwinner/awin_otgreg.h      Sun Sep 14 08:47:19 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_otgreg.h      Sun Sep 14 09:32:11 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_otgreg.h,v 1.2 2014/09/13 17:48:52 jmcneill Exp $ */
+/* $NetBSD: awin_otgreg.h,v 1.3 2014/09/14 09:32:11 jmcneill Exp $ */
 /* FreeBSD: head/sys/dev/usb/controller/musb_otg.h 267122 2014-06-05 18:23:51Z hselasky */
 /*-
  * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
@@ -278,12 +278,12 @@
 
 /* Host Mode only registers */
 
-#define        MUSB2_REG_TXFADDR(n) (0x0098 + (8*(n)))
-#define        MUSB2_REG_TXHADDR(n) (0x009a + (8*(n)))
-#define        MUSB2_REG_TXHUBPORT(n) (0x009b + (8*(n)))
-#define        MUSB2_REG_RXFADDR(n) (0x009c + (8*(n)))
-#define        MUSB2_REG_RXHADDR(n) (0x009e + (8*(n)))
-#define        MUSB2_REG_RXHUBPORT(n) (0x009f + (8*(n)))
+#define        MUSB2_REG_TXFADDR(n) 0x0098
+#define        MUSB2_REG_TXHADDR(n) 0x009a
+#define        MUSB2_REG_TXHUBPORT(n) 0x009b
+#define        MUSB2_REG_RXFADDR(n) 0x009c
+#define        MUSB2_REG_RXHADDR(n) 0x009e
+#define        MUSB2_REG_RXHUBPORT(n) 0x009f
 
 #define        MUSB2_EP_MAX 16                 /* maximum number of endpoints */
 



Home | Main Index | Thread Index | Old Index