]> git.baikalelectronics.ru Git - kernel.git/commit
gianfar: fix endianness for hardware timestamp
authorYangbo Lu <yangbo.lu@nxp.com>
Wed, 24 Feb 2016 09:26:56 +0000 (17:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 21:22:02 +0000 (16:22 -0500)
commitbc1725f79d927ada8b50bd7682e8b64737e25d9e
tree901c0b8fa7f2f6620518dafbed477d8f066594b2
parentff25f97404c833189cac861b48e822ec4fd89caa
gianfar: fix endianness for hardware timestamp

Fix endianness for the 64-bit hardware timestamp value with
be64_to_cpu to support both PowerPC platforms and ARM platforms.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c