]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6060: use the correct MaxFrameSize bit
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 10 Nov 2015 15:51:24 +0000 (16:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2015 01:16:16 +0000 (20:16 -0500)
commit9c8ed23c0c5158683d3fcc71c9d3965bccb8755f
tree99e8e82c5735611a9c566346827582432ec67f23
parent6a335215fea87aca076fd3dcce76b7a9e9784c5f
net: dsa: mv88e6060: use the correct MaxFrameSize bit

According to the mv88e6060 datasheet, the MaxFrameSize bit position
is 10 instead of 11 which is reserved.
Use the bit correctly to setup max frame size to 1536.

Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6060.c