Signed-off-by: Hauke Mehrtens <[email protected]>
---
 .../network/0017-get_ts_info/cdc_ncm.patch                   | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 
patches/collateral-evolutions/network/0017-get_ts_info/cdc_ncm.patch

diff --git 
a/patches/collateral-evolutions/network/0017-get_ts_info/cdc_ncm.patch 
b/patches/collateral-evolutions/network/0017-get_ts_info/cdc_ncm.patch
new file mode 100644
index 0000000..14101f2
--- /dev/null
+++ b/patches/collateral-evolutions/network/0017-get_ts_info/cdc_ncm.patch
@@ -0,0 +1,12 @@
+--- a/drivers/net/usb/cdc_ncm.c
++++ b/drivers/net/usb/cdc_ncm.c
+@@ -137,7 +137,9 @@ static const struct ethtool_ops cdc_ncm_
+       .get_drvinfo       = usbnet_get_drvinfo,
+       .get_msglevel      = usbnet_get_msglevel,
+       .set_msglevel      = usbnet_set_msglevel,
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)
+       .get_ts_info       = ethtool_op_get_ts_info,
++#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) */
+       .get_sset_count    = cdc_ncm_get_sset_count,
+       .get_strings       = cdc_ncm_get_strings,
+       .get_ethtool_stats = cdc_ncm_get_ethtool_stats,
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to