powerpc:t4240: MAC9 and MAC10 should not be identified as 1G interface in some case
authorYing Zhang <b40530@freescale.com>
Mon, 18 Apr 2016 09:04:16 +0000 (17:04 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 25 May 2016 00:11:03 +0000 (17:11 -0700)
commit8ef548d5f13e68e1b3975d9b68920bfa8bf09891
tree0686c90ff3bfda31dfe84c83ef4011e980f1e700
parentd1fc8ed485cbf44434a9bc2a02ddf2a94f2183c1
powerpc:t4240: MAC9 and MAC10 should not be identified as 1G interface in some case

When using rcw protocols to support 10G on MAC9 and MAC10, these MACs
should not be identified as 1G interface, otherwise, one MAC will be
listed as two Ethernet ports. For example, MAC9 will be listed as
FM1@TGEC1 and FM1@DTSEC9.

Signed-off-by: Ying Zhang <b40530@freescale.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/net/fm/t4240.c