diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-11-15 19:29:55 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-17 02:43:10 +0400 |
commit | a19f2a6df28e0ccb4103b77cc17c03b62f4d573e (patch) | |
tree | 5f54c26772a32b5a6638c3b93c321c0f49b549a5 /firmware/cpia2 | |
parent | c8f44affb7244f2ac3e703cab13d55ede27621bb (diff) | |
download | linux-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 'firmware/cpia2')
0 files changed, 0 insertions, 0 deletions