]> git.pld-linux.org Git - packages/r8168.git/blame - linux-3.16.patch
- drop non-dist kernel support
[packages/r8168.git] / linux-3.16.patch
CommitLineData
b07b5ee8
JR
1--- r8168-8.038.00/src/r8168_n.c~ 2014-08-25 22:58:24.000000000 +0200
2+++ r8168-8.038.00/src/r8168_n.c 2014-08-25 23:00:52.314799987 +0200
3@@ -17542,7 +17542,11 @@
4
5 RTL_NET_DEVICE_OPS(rtl8168_netdev_ops);
6
7+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0)
8 SET_ETHTOOL_OPS(dev, &rtl8168_ethtool_ops);
9+#else
10+ dev->ethtool_ops = &rtl8168_ethtool_ops;
11+#endif
12
13 dev->watchdog_timeo = RTL8168_TX_TIMEOUT;
14 dev->irq = pdev->irq;
This page took 0.031597 seconds and 4 git commands to generate.