]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2761ece6e792c6eac05706d2445ed09fea98015d
tree71493fca1b2525ab87143b9a76e18ed526dc8d14
parent1815d44a21d795f1a14ae0bc2d2fc30375550a65
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