tg3: PTP - Add the hardware timestamp ioctl
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 3 Dec 2012 19:36:59 +0000 (19:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Dec 2012 17:58:50 +0000 (12:58 -0500)
commit0a633ac2284a92f0c65972bd8019146ed7d66159
tree71493fca1b2525ab87143b9a76e18ed526dc8d14
parent7d41e49ac2a10a269bb50b4b019d75eed16fd55d
tg3: PTP - Add the hardware timestamp ioctl

This patch implements the SIOCSHWTSTAMP ioctl as described in
Documentation/networking/timestamping.txt

[Removed HWTSTAMP_FILTER_ALL handling by returning -ERANGE based on input
 from Richard Cochran.]

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c