]> 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)
commit0210eeeabba2a766d9df4ab1382161f93b9a30fe
treeafd2d19b61ac81cb7b85b2c1d86c0a0298e39143
parent4ca3d9cbd6d7ffdf2106047db4f881144273e290
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: bcdade970969 ("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