From 0b8a576fce79140c6584bb16e62938657e7c26f0 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 24 Nov 2016 17:54:51 +0100 Subject: [PATCH] linux: comment out part of ethtool.h It relies too much on kernel.h. --- include/linux/ethtool.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index f0db7788..c0f483a3 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -13,7 +13,6 @@ #ifndef _UAPI_LINUX_ETHTOOL_H #define _UAPI_LINUX_ETHTOOL_H -#include #include #include @@ -1224,6 +1223,7 @@ enum ethtool_sfeatures_retval_bits { #define MAX_NUM_QUEUE 4096 +#if 0 /** * struct ethtool_per_queue_op - apply sub command to the queues in mask. * @cmd: ETHTOOL_PERQUEUE @@ -1237,6 +1237,7 @@ struct ethtool_per_queue_op { __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; char data[]; }; +#endif /* CMDs currently supported */ #define ETHTOOL_GSET 0x00000001 /* DEPRECATED, Get settings. -- 2.39.5