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

According to the mv88e6060 datasheet, the first mac byte must
be at position 9 instead of 8 since the bit 8 is used to select
if the mac address must differ for each port for Pause frames.
Use the correct shift and set the same mac address for all port.

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