]> git.baikalelectronics.ru Git - kernel.git/commit
tile: set hw_features and vlan_features in setup
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 1 Aug 2013 15:36:42 +0000 (11:36 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Aug 2013 21:35:49 +0000 (14:35 -0700)
commitba7b9786b4a5c8d140092adac6380d64e569e3a2
tree14f1f45caf3d98149fd49fb2e3e1243b50f08517
parent2f3abcb982b66c4afab9c6650d4782f820f7442a
tile: set hw_features and vlan_features in setup

This change allows the user to configure various features of the tile
networking drivers on and off.  There is no change to the default
initialization state of either the tilegx or tilepro drivers.

Neither driver needs the ndo_fix_features or ndo_set_features callbacks,
since the generic code already handles the dependencies for
fix_features, and there is no hardware state to tweak in set_features.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/tile/tilegx.c
drivers/net/ethernet/tile/tilepro.c