]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: add Big-Endian ethtool comment
authorYuval Mintz <yuvalmin@broadcom.com>
Thu, 26 Dec 2013 07:57:09 +0000 (09:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2013 18:38:21 +0000 (13:38 -0500)
commit32c6c2c15093cd5431af5f8fe763e842cf7fccca
tree6ea377a9e3af563498da8389a3b9a2e5c80f4e14
parent912925dfbf5122c149d20d823d9f98e71caa3735
bnx2x: add Big-Endian ethtool comment

There's a known issue that using `ethtool -e' flips the endianity of the
written data, i.e., using `ethtool -E' to dump eeprom image and than using
`ethtool -e' to re-write that same image will result in an image where
the data has the opposite endianity.
Sadly, this cannot be fixed as there are already various tools deployed
based on the endianity of the eeprom read/write.
Instead, a comment is added to the code to help explain why this is un-fixable.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c