commit | a19f2a6df28e0ccb4103b77cc17c03b62f4d573e | [log] [tgz] |
---|---|---|
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | Tue Nov 15 15:29:55 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 16 17:43:10 2011 -0500 |
tree | 5f54c26772a32b5a6638c3b93c321c0f49b549a5 | |
parent | c8f44affb7244f2ac3e703cab13d55ede27621bb [diff] |
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>