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)
commita8eaed55f86ec45a58414ffd04818be641b9e0de
tree14f1f45caf3d98149fd49fb2e3e1243b50f08517
parent84915c646271abc6b87fed0477dc72278fe4f8a3
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