Module Name: src Committed By: matt Date: Thu Jun 9 19:10:38 UTC 2011
Modified Files: src/sys/arch/powerpc/include/booke: e500reg.h Log Message: Correct definitions of USB_SNOOP registers. Add USB_CONTROL register. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/powerpc/include/booke/e500reg.h 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/powerpc/include/booke/e500reg.h diff -u src/sys/arch/powerpc/include/booke/e500reg.h:1.7 src/sys/arch/powerpc/include/booke/e500reg.h:1.8 --- src/sys/arch/powerpc/include/booke/e500reg.h:1.7 Sat May 28 05:23:08 2011 +++ src/sys/arch/powerpc/include/booke/e500reg.h Thu Jun 9 19:10:37 2011 @@ -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