From: Vincent Bernat Date: Thu, 24 Nov 2016 16:54:51 +0000 (+0100) Subject: linux: comment out part of ethtool.h X-Git-Tag: 0.9.6~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b8a576fce79140c6584bb16e62938657e7c26f0;p=thirdparty%2Flldpd.git linux: comment out part of ethtool.h It relies too much on kernel.h. --- 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.