projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a928c
)
net: netcp: fix check of requested timestamping filter
author
Miroslav Lichvar
<
[email protected]
>
Mon, 15 May 2017 14:04:36 +0000
(16:04 +0200)
committer
David S. Miller
<
[email protected]
>
Mon, 15 May 2017 19:21:03 +0000
(15:21 -0400)
The driver doesn't support timestamping of all received packets and
should return error when trying to enable the HWTSTAMP_FILTER_ALL
filter.
Cc: WingMan Kwok <
[email protected]
>
Cc: Richard Cochran <
[email protected]
>
Signed-off-by: Miroslav Lichvar <
[email protected]
>
Acked-by: Richard Cochran <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/ti/netcp_ethss.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ti/netcp_ethss.c
b/drivers/net/ethernet/ti/netcp_ethss.c
index 897176fc5043bf0da12fe5dcb7a659c269fdf615..dd92950a4615c3aab559c6dc383a4e90ee539160 100644
(file)
--- a/
drivers/net/ethernet/ti/netcp_ethss.c
+++ b/
drivers/net/ethernet/ti/netcp_ethss.c
@@
-2651,7
+2651,6
@@
static int gbe_hwtstamp_set(struct gbe_intf *gbe_intf, struct ifreq *ifr)
case HWTSTAMP_FILTER_NONE:
cpts_rx_enable(cpts, 0);
break;
- case HWTSTAMP_FILTER_ALL:
case HWTSTAMP_FILTER_PTP_V1_L4_EVENT:
case HWTSTAMP_FILTER_PTP_V1_L4_SYNC:
case HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ: