net: introduce and use netdev_features_t for device features sets
v2: add couple missing conversions in drivers split unexporting netdev_fix_features() implemented %pNF convert sock::sk_route_(no?)caps Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
@@ -474,10 +474,11 @@ static int dm9000_nway_reset(struct net_device *dev)
|
||||
return mii_nway_restart(&dm->mii);
|
||||
}
|
||||
|
||||
static int dm9000_set_features(struct net_device *dev, u32 features)
|
||||
static int dm9000_set_features(struct net_device *dev,
|
||||
netdev_features_t features)
|
||||
{
|
||||
board_info_t *dm = to_dm9000_board(dev);
|
||||
u32 changed = dev->features ^ features;
|
||||
netdev_features_t changed = dev->features ^ features;
|
||||
unsigned long flags;
|
||||
|
||||
if (!(changed & NETIF_F_RXCSUM))
|
||||
|
在新工单中引用
屏蔽一个用户