net: stmmac: convert to hw_features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 9 Apr 2011 02:46:55 +0000 (02:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 01:55:19 +0000 (18:55 -0700)
commit5e982f3bfdd5d063f8806a26c87843496a35d26b
tree6526772af4bbe2222aaa0625c9f53006de1c7464
parent044a890c5a0fb7ac60c70bbb4e1b79e59272e504
net: stmmac: convert to hw_features

This also removes TSO as it's made fully in software --- better to leave this
to networking core.

If the MAC features can be detected at probe time and not at open, then
stmmac_fix_features could be simplified by limiting hw_features. That's
also better for users as they don't see offloads being togglable but
never turned on.

Redundant fallbacks for TX csum are removed as it's already handled
by network core.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/stmmac/stmmac_ethtool.c
drivers/net/stmmac/stmmac_main.c