]> git.sur5r.net Git - u-boot/commit
net/fman: add ft_fixup_xgec to support 3rd and 4th 10GEC
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Mon, 2 Dec 2013 02:23:11 +0000 (10:23 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 11 Dec 2013 19:12:20 +0000 (11:12 -0800)
commit732dfe090d50af53bb682d0c8971784f8de1f90f
tree604c964811efd4bc0357e16e08bc7dceabb9aaaf
parentc1015c67f4cb01bdd59642c912263cf62e70e8d1
net/fman: add ft_fixup_xgec to support 3rd and 4th 10GEC

As mEMAC1 and mEMAC2 are dual-role MACs, which are used as 1G or 10G MAC.
So we update dynamically 'cell-index' to '2' and '3' for 10GEC3 and 10GEC4.
Also change 'fsl,fman-port-1g-rx' to 'fsl,fman-port-10g-rx', ditto for Tx.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
drivers/net/fm/init.c