Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include/booke Correct definitions of USB_SN...



details:   https://anonhg.NetBSD.org/src/rev/ebedb312c186
branches:  trunk
changeset: 765905:ebedb312c186
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jun 09 19:10:37 2011 +0000

description:
Correct definitions of USB_SNOOP registers.  Add USB_CONTROL register.

diffstat:

 sys/arch/powerpc/include/booke/e500reg.h |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r f78d739a816a -r ebedb312c186 sys/arch/powerpc/include/booke/e500reg.h
--- a/sys/arch/powerpc/include/booke/e500reg.h  Thu Jun 09 19:09:57 2011 +0000
+++ b/sys/arch/powerpc/include/booke/e500reg.h  Thu Jun 09 19:10:37 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: e500reg.h,v 1.7 2011/05/28 05:23:08 matt Exp $ */
+/*     $NetBSD: e500reg.h,v 1.8 2011/06/09 19:10:37 matt Exp $ */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -277,11 +277,13 @@
 #define        USB1_BASE       0x22100 /* MPC8536 */
 #define        USB2_BASE       0x23100 /* MPC8536 */
 #define        USB3_BASE       0x2b100 /* MPC8536 */
+#define        USB_SNOOP1      0x0300  /* DMA Snooping Register 1 */
+#define        USB_SNOOP2      0x0304  /* DMA Snooping Register 2 */
+#define        USB_CONTROL     0x0400  /* USB General Purpose Register */
+#define        USB_EN          __PPCBIT(29)
+#define        USB_ULPI_INT_EN __PPCBIT(31)
 #define        USB_SIZE        0x00f00
 
-#define        USB_SNOOP1      0x400
-#define        USB_SNOOP2      0x404
-
 #define        SNOOP_2GB       0x1e
 
 #define        ETSEC1_BASE     0x24000



Home | Main Index | Thread Index | Old Index