]> 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)
commitd3c7c76160c7594e964394eddd7a33190b62a193
tree14f1f45caf3d98149fd49fb2e3e1243b50f08517
parent082571d1c1b36ce95c920733924701598a8c1c06
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