- 03 10月, 2011 1 次提交
-
-
由 Kumar Gala 提交于
The SoC configuration may have more ports enabled than a given board actually can utilize. Add a routinue that allows the board code to disable a port that it knows isn't being used. fm_disable_port() needs to be called before cpu_eth_init(). Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 30 9月, 2011 1 次提交
-
-
由 Kumar Gala 提交于
The Frame Manager (FMan) on QorIQ SoCs with DPAA (datapath acceleration architecture) is the ethernet contoller block. Normally it is utilized via Queue Manager (Qman) and Buffer Manager (Bman). However for boot usage the FMan supports a mode similar to QE or CPM ethernet collers called Independent mode. Additionally the FMan block supports multiple 1g and 10g interfaces as a single entity in the system rather than each controller being managed uniquely. This means we have to initialize all of Fman regardless of the number of interfaces we utilize. Different SoCs support different combinations of the number of FMan as well as the number of 1g & 10g interfaces support per Fman. We add support for the following SoCs: * P1023 - 1 Fman, 2x1g * P4080 - 2 Fman, each Fman has 4x1g and 1x10g * P204x/P3041/P5020 - 1 Fman, 5x1g, 1x10g Signed-off-by: NDave Liu <daveliu@freescale.com> Signed-off-by: NAndy Fleming <afleming@freescale.com> Signed-off-by: NTimur Tabi <timur@freescale.com> Signed-off-by: NRoy Zang <tie-fei.zang@freescale.com> Signed-off-by: NDai Haruki <dai.haruki@freescale.com> Signed-off-by: NKim Phillips <kim.phillips@freescale.com> Signed-off-by: NIoana Radulescu <ruxandra.radulescu@freescale.com> Signed-off-by: NLei Xu <B33228@freescale.com> Signed-off-by: NMingkai Hu <Mingkai.hu@freescale.com> Signed-off-by: NScott Wood <scottwood@freescale.com> Signed-off-by: NShaohui Xie <b21989@freescale.com> Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-