Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/broadcom Fix CFG_IND_ADDR_FUNC definition.



details:   https://anonhg.NetBSD.org/src/rev/0862ec52f2e5
branches:  trunk
changeset: 781416:0862ec52f2e5
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Sep 05 00:22:41 2012 +0000

description:
Fix CFG_IND_ADDR_FUNC definition.

diffstat:

 sys/arch/arm/broadcom/bcm53xx_reg.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 8b3904df12e5 -r 0862ec52f2e5 sys/arch/arm/broadcom/bcm53xx_reg.h
--- a/sys/arch/arm/broadcom/bcm53xx_reg.h       Wed Sep 05 00:21:30 2012 +0000
+++ b/sys/arch/arm/broadcom/bcm53xx_reg.h       Wed Sep 05 00:22:41 2012 +0000
@@ -373,10 +373,12 @@
 
 #ifdef PCIE_PRIVATE
 
+#define        PCIE_CLK_CONTROL        0x000
+
 #define        PCIE_CFG_IND_ADDR       0x120
 #define         CFG_IND_ADDR_FUNC      __BITS(15,13)
 #define  CFG_IND_ADDR_LAYER    __BITS(12,11)
-#define         CFG_IND_ADDR_REG       __BITS(10,0)
+#define         CFG_IND_ADDR_REG       __BITS(10,2)
 #define        PCIE_CFG_IND_DATA       0x124
 #define        PCIE_CFG_ADDR           0x1f8
 #define         CFG_ADDR_BUS           __BITS(27,20)



Home | Main Index | Thread Index | Old Index