Skip to contentSkip to conversation

qe: ucc_slow.guemr is in the wrong place

PATCH Applied Timur Tabi 2 participants 2 messages Mar 26, 2007 – Mar 29, 2007

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 1/1 qe: ucc_slow.guemr is in the wrong place

The definition of struct ucc_slow puts the guemr register immediately after the utpt register, when it should be at offset 0x90. This patch adds the missing 0x52-byte padding.

---
 include/asm-powerpc/immap_qe.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
include/asm-powerpc/immap_qe.h +2 -1
index 9fdd049..1020b7f 100644
@@ -258,8 +258,9 @@ struct ucc_slow {
 	u8	uccs;		/* UCCx status register */
 	u8	res3[0x24];
 	__be16	utpt;
+	u8	res4[0x52];
 	u8	guemr;		/* UCC general extended mode register */
-	u8	res4[0x200 - 0x091];
+	u8	res5[0x200 - 0x091];
 } __attribute__ ((packed));
 
 /* QE UCC Fast */
Signature · 1 line
1.5.0.2.260.g2eb065
Applied
#1 lore raw
Quoted 9 lines · Timur Tabi

The definition of struct ucc_slow puts the guemr register immediately after the utpt register, when it should be at offset 0x90. This patch adds the missing 0x52-byte padding.

---
 include/asm-powerpc/immap_qe.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

applied

- k