]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/ibm/emac: bump version numbers for correct work with ethtool
authorIvan Mikhaylov <ivan@ru.ibm.com>
Fri, 25 Sep 2015 07:52:27 +0000 (11:52 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 00:51:48 +0000 (09:51 +0900)
commit9cda65f34d0d0aed35effe37d9f85d6d9b5285fd
tree0a03f97bbb5447d2f7d704195ca268213e96f510
parent205a8514e63a221c3a5071f27521013444e43e5f
net/ibm/emac: bump version numbers for correct work with ethtool

[ Upstream commit 661dfc65f7981481ba2e31aaa702371e82336e56 ]

The size of the MAC register dump used to be the size specified by the
reg property in the device tree.  Userland has no good way of finding
out that size, and it was not specified consistently for each MAC type,
so ethtool would end up printing junk at the end of the register dump
if the device tree didn't match the size it assumed.

Using the new version numbers indicates unambiguously that the size of
the MAC register dump is dependent only on the MAC type.

Fixes: 5369c71f7ca2 ("net/ibm/emac: fix size of emac dump memory areas")
Signed-off-by: Ivan Mikhaylov <ivan@ru.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/ibm/emac/core.h