net/fm: update ft_fixup_port to differentiate dual-role mac
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Wed, 3 Dec 2014 07:27:03 +0000 (15:27 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 15 Dec 2014 17:15:55 +0000 (09:15 -0800)
commit24d827f526d48e21868b5d869bd81a7fa148a0ba
treed5acc9e8457bafe4a5c548f19e3a25ec0aaf3502
parent0ccee4e6277b4324785e91b488b19f7f30303e32
net/fm: update ft_fixup_port to differentiate dual-role mac

we need to differentiate dual-role MACs into two types: MACs with
10GEC enumeration consistent with DTSEC enumeration(defined by
CONFIG_FSL_FM_10GEC_REGULAR_NOTATION) and other MACs without
CONFIG_FSL_FM_10GEC_REGULAR_NOTATION defined.

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