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 a few c&p errors.
details: https://anonhg.NetBSD.org/src/rev/7c15bcf6f3e9
branches: trunk
changeset: 784333:7c15bcf6f3e9
user: matt <matt%NetBSD.org@localhost>
date: Fri Jan 25 22:37:59 2013 +0000
description:
Fix a few c&p errors.
diffstat:
sys/arch/arm/broadcom/bcm53xx_reg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r b35309698865 -r 7c15bcf6f3e9 sys/arch/arm/broadcom/bcm53xx_reg.h
--- a/sys/arch/arm/broadcom/bcm53xx_reg.h Fri Jan 25 19:07:14 2013 +0000
+++ b/sys/arch/arm/broadcom/bcm53xx_reg.h Fri Jan 25 22:37:59 2013 +0000
@@ -237,14 +237,14 @@
#define MIIMGT_MDCDIV __BITS(6,0)
#define MIICMD 0x004
#define MIICMD_SB __BITS(31,30)
-#define MIICMD_SB_DEF __SHIFTIN(1, MIICMD_OP)
+#define MIICMD_SB_DEF __SHIFTIN(1, MIICMD_SB)
#define MIICMD_OP __BITS(29,28)
#define MIICMD_OP_RD __SHIFTIN(2, MIICMD_OP)
#define MIICMD_OP_WR __SHIFTIN(1, MIICMD_OP)
#define MIICMD_PHY __BITS(27,23)
#define MIICMD_REG __BITS(22,18)
#define MIICMD_TA __BITS(17,16)
-#define MIICMD_TA_DEF __SHIFTIN(2, MIICMD_OP)
+#define MIICMD_TA_DEF __SHIFTIN(2, MIICMD_TA)
#define MIICMD_DATA __BITS(15,0)
#define MIICMD_RD_DEF (MIICMD_SB_DEF|MIICMD_OP_RD|MIICMD_TA_DEF)
Home |
Main Index |
Thread Index |
Old Index