Skip to contentSkip to conversation

MIPS: BCM63XX: fix ENETDMA_6345_MAXBURST_REG offset

PATCH New Jonas Gorski 1 participant 1 message Feb 19, 2017 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: BCM63XX: fix ENETDMA_6345_MAXBURST_REG offset

The channels are only 0x40 bytes large, so 0x40 would be the next one's CHANCFG_REG. Also the position makes it clear that this was intended to be 0x04. So clearly a typo.

---
 arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h +1 -1
index 5035f09c5427..24080af570f9 100644
@@ -710,7 +710,7 @@
 /* Broadcom 6345 ENET DMA definitions */
 #define ENETDMA_6345_CHANCFG_REG	(0x00)
 
-#define ENETDMA_6345_MAXBURST_REG	(0x40)
+#define ENETDMA_6345_MAXBURST_REG	(0x04)
 
 #define ENETDMA_6345_RSTART_REG		(0x08)
 
Signature · 1 line
2.11.0