ETHTOOL_COALESCE_USECS only appeared with 5.7-rc1, not 5.6

This commit is contained in:
William Gathoye
2020-07-12 21:11:09 +02:00
parent 1ae92418ba
commit 8136e09663
+1 -1
View File
@@ -17134,7 +17134,7 @@ static int rtl8152_set_ringparam(struct net_device *netdev,
}
static const struct ethtool_ops ops = {
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)
.supported_coalesce_params = ETHTOOL_COALESCE_USECS,
#endif
.get_drvinfo = rtl8152_get_drvinfo,