]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 05:22:50 +0000 (22:22 -0700)
commitda27de460f2353e10c66f982339de33bfe97e5c7
treeafd2d19b61ac81cb7b85b2c1d86c0a0298e39143
parent2a0cf874f5297dfe129f16df9db0c735eec83d9d
net/ibm/emac: bump version numbers for correct work with ethtool

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: 901173f6ecde ("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>
drivers/net/ethernet/ibm/emac/core.h