mvneta: consolidate autoneg enabling
authorStas Sergeev <stsp@list.ru>
Wed, 2 Dec 2015 17:33:56 +0000 (20:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 20:18:10 +0000 (15:18 -0500)
commitaa5bc7a28d0c5422a0197f021fe5ddcc80f4bfd7
tree48254068f7a29e9570d69cdd1123b807f3bbc14f
parent3b5dde70b18e2aa05138466cd6b83f6529d4df0d
mvneta: consolidate autoneg enabling

This moves autoneg-related bit manipulations to the single place.

CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: netdev@vger.kernel.org
CC: linux-kernel@vger.kernel.org
Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c