From 1a0c64219df1fe4f8c40ed2ecaa0da1b4e0e26f7 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 14 Oct 2011 00:01:23 -0500 Subject: powerpc/85xx: Update setting of SRIO LIODNs Properly set the LIODN values associated with SRIO controller. On P4080/P3060 we have an LIODN per port and one for the RMU. On P2041/P3041/P5020 we have 2 LIODNs per port. Update the tables for all of these devices to properly handle both styles. Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc85xx/p5020_ids.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/powerpc/cpu/mpc85xx/p5020_ids.c') diff --git a/arch/powerpc/cpu/mpc85xx/p5020_ids.c b/arch/powerpc/cpu/mpc85xx/p5020_ids.c index 4254dd56c79..65d87755512 100644 --- a/arch/powerpc/cpu/mpc85xx/p5020_ids.c +++ b/arch/powerpc/cpu/mpc85xx/p5020_ids.c @@ -40,6 +40,12 @@ struct qportal_info qp_info[CONFIG_SYS_QMAN_NUM_PORTALS] = { }; #endif +struct srio_liodn_id_table srio_liodn_tbl[] = { + SET_SRIO_LIODN_2(1, 199, 200), + SET_SRIO_LIODN_2(2, 201, 202), +}; +int srio_liodn_tbl_sz = ARRAY_SIZE(srio_liodn_tbl); + struct liodn_id_table liodn_tbl[] = { #ifdef CONFIG_SYS_DPAA_QBMAN SET_QMAN_LIODN(31), -- cgit v1.2.3