Skip to contentSkip to conversation

powerpc/qe: Increase MAX_QE_RISC to 4

PATCH Applied Anton Vorontsov 3 participants 3 messages Aug 27, 2009 – Aug 28, 2009 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 powerpc/qe: Increase MAX_QE_RISC to 4

MPC8569 CPUs have four QE RISCs, so we need to increase MAX_QE_RISC constant, otherwise qe_upload_firmware() fails at sanity checking.

---
 arch/powerpc/sysdev/qe_lib/qe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/sysdev/qe_lib/qe.c +1 -1
index 237e365..b06564f 100644
@@ -336,7 +336,7 @@ static int qe_sdma_init(void)
 }
 
 /* The maximum number of RISCs we support */
-#define MAX_QE_RISC     2
+#define MAX_QE_RISC     4
 
 /* Firmware information stored here for qe_get_firmware_info() */
 static struct qe_firmware_info qe_firmware_info;
Signature · 1 line
1.6.3.3
Acked-by on v1 1/5
#1 lore raw
Quoted 5 lines · Anton Vorontsov

MPC8569 CPUs have four QE RISCs, so we need to increase MAX_QE_RISC constant, otherwise qe_upload_firmware() fails at sanity checking.

---

Anton, I'll review the rest of your patches next week. I'm too busy to do it now.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale