tg3: Implement the SIOCGHWTSTAMP ioctl
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 18 Nov 2013 22:59:43 +0000 (22:59 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 21 Nov 2013 17:17:36 +0000 (17:17 +0000)
commit7260899bde50cbe84bdf0a15b5642e2c3b03db32
tree68fb5362d9ae2490697f1df017f2d82ecd8b3505
parent7575c917cf29824b71c4dff8274fe39fc32bc173
tg3: Implement the SIOCGHWTSTAMP ioctl

While we're doing this, fix the error code for SIOCSHWTSTAMP ioctl on
non-timestamping hardware.

Compile-tested only.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/broadcom/tg3.c