summaryrefslogtreecommitdiff
path: root/net/core/ethtool.c
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-11-15 15:29:55 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-11-16 22:43:10 (GMT)
commita19f2a6df28e0ccb4103b77cc17c03b62f4d573e (patch)
tree5f54c26772a32b5a6638c3b93c321c0f49b549a5 /net/core/ethtool.c
parentc8f44affb7244f2ac3e703cab13d55ede27621bb (diff)
downloadlinux-a19f2a6df28e0ccb4103b77cc17c03b62f4d573e.tar.xz
net: Define enum for net device features.
Define feature values by bit position instead of direct 2**i values and force the values to be of type netdev_features_t. Cleaned and extended from patch by Mahesh Bandewar <maheshb@google.com>: + added netdev_features_t casts + included bits under NETIF_F_GSO_MASK + moved feature #defines out of struct net_device definition Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/ethtool.c')
0 files changed, 0 insertions, 0 deletions