]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf54af12f4348b23d78f5186854d23e47795d21cb
tree901c0b8fa7f2f6620518dafbed477d8f066594b2
parentc35ec779663b030ad3a03147be23146274026ae3
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