]> git.sur5r.net Git - u-boot/commitdiff
powerpc/mpc85xx: Changed LIODN offset values
authorCristian Sovaiala <cristian.sovaiala@freescale.com>
Mon, 25 Mar 2013 07:30:12 +0000 (07:30 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 2 May 2013 21:57:34 +0000 (16:57 -0500)
Extending LIODN offset range from 1-5 to 1-10
While using a qman portal with a higher index the LIODN offset
is incorrectly set, thus extending the range of offsets covers
all 10 qman portals

Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Acked-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/p2041_ids.c
arch/powerpc/cpu/mpc85xx/p3041_ids.c
arch/powerpc/cpu/mpc85xx/p5020_ids.c

index 91d9cac56823131cf645748f4c2a94ec7477f6be..ef685fea092fd2907b54715087fc0b1adb810f76 100644 (file)
 #ifdef CONFIG_SYS_DPAA_QBMAN
 struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS] = {
        /* dqrr liodn, frame data liodn, liodn off, sdest */
-       SET_QP_INFO(1, 2, 1, 0),
-       SET_QP_INFO(3, 4, 2, 1),
-       SET_QP_INFO(5, 6, 3, 2),
-       SET_QP_INFO(7, 8, 4, 3),
-       SET_QP_INFO(9, 10, 5, 0),
-       SET_QP_INFO(11, 12, 1, 1),
-       SET_QP_INFO(13, 14, 2, 2),
-       SET_QP_INFO(15, 16, 3, 3),
-       SET_QP_INFO(17, 18, 4, 0), /* for now sdest to 0 */
-       SET_QP_INFO(19, 20, 5, 0), /* for now sdest to 0 */
+       SET_QP_INFO(1,  2,  1, 0),
+       SET_QP_INFO(3,  4,  2, 1),
+       SET_QP_INFO(5,  6,  3, 2),
+       SET_QP_INFO(7,  8,  4, 3),
+       SET_QP_INFO(9, 10,  5, 0),
+       SET_QP_INFO(11, 12,  6, 1),
+       SET_QP_INFO(13, 14,  7, 2),
+       SET_QP_INFO(15, 16,  8, 3),
+       SET_QP_INFO(17, 18,  9, 0), /* for now sdest to 0 */
+       SET_QP_INFO(19, 20, 10, 0), /* for now sdest to 0 */
 };
 #endif
 
index e46a714dccd807511777dc762aa33bdf8de18f2e..cab03f8ab6eade9062bf4add77ebcf5a1705170f 100644 (file)
 #ifdef CONFIG_SYS_DPAA_QBMAN
 struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS] = {
        /* dqrr liodn, frame data liodn, liodn off, sdest */
-       SET_QP_INFO(1, 2, 1, 0),
-       SET_QP_INFO(3, 4, 2, 1),
-       SET_QP_INFO(5, 6, 3, 2),
-       SET_QP_INFO(7, 8, 4, 3),
-       SET_QP_INFO(9, 10, 5, 0),
-       SET_QP_INFO(11, 12, 1, 1),
-       SET_QP_INFO(13, 14, 2, 2),
-       SET_QP_INFO(15, 16, 3, 3),
-       SET_QP_INFO(17, 18, 4, 0), /* for now sdest to 0 */
-       SET_QP_INFO(19, 20, 5, 0), /* for now sdest to 0 */
+       SET_QP_INFO(1,  2,  1, 0),
+       SET_QP_INFO(3,  4,  2, 1),
+       SET_QP_INFO(5,  6,  3, 2),
+       SET_QP_INFO(7,  8,  4, 3),
+       SET_QP_INFO(9, 10,  5, 0),
+       SET_QP_INFO(1, 12,  6, 1),
+       SET_QP_INFO(13, 14,  7, 2),
+       SET_QP_INFO(15, 16,  8, 3),
+       SET_QP_INFO(17, 18,  9, 0), /* for now sdest to 0 */
+       SET_QP_INFO(19, 20, 10, 0), /* for now sdest to 0 */
 };
 #endif
 
index e8c26bf44c87404c7eaf184239b6922141cdac78..ca05b9cb2b412404e7c23ca2402294f9522da559 100644 (file)
 #ifdef CONFIG_SYS_DPAA_QBMAN
 struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS] = {
        /* dqrr liodn, frame data liodn, liodn off, sdest */
-       SET_QP_INFO(1, 2, 1, 0),
-       SET_QP_INFO(3, 4, 2, 1),
-       SET_QP_INFO(5, 6, 3, 0),
-       SET_QP_INFO(7, 8, 4, 1),
-       SET_QP_INFO(9, 10, 5, 0),
-       SET_QP_INFO(11, 12, 1, 1),
-       SET_QP_INFO(13, 14, 2, 0),
-       SET_QP_INFO(15, 16, 3, 1),
-       SET_QP_INFO(17, 18, 4, 0),
-       SET_QP_INFO(19, 20, 5, 1),
+       SET_QP_INFO(1,  2,  1, 0),
+       SET_QP_INFO(3,  4,  2, 1),
+       SET_QP_INFO(5,  6,  3, 0),
+       SET_QP_INFO(7,  8,  4, 1),
+       SET_QP_INFO(9, 10,  5, 0),
+       SET_QP_INFO(11, 12,  6, 1),
+       SET_QP_INFO(13, 14,  7, 0),
+       SET_QP_INFO(15, 16,  8, 1),
+       SET_QP_INFO(17, 18,  9, 0),
+       SET_QP_INFO(19, 20, 10, 1),
 };
 #endif