net: r8169: convert to hw_features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Fri, 8 Apr 2011 06:35:56 +0000 (06:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 01:55:18 +0000 (18:55 -0700)
commit350fb32ae45ec74ea9cc117c728c48b8e840f0f9
treeaf5b53bf85da0a00b20ef239166be8dc9c017667
parent8b8ddc68df13032a5666438b48dfb7a86de3a610
net: r8169: convert to hw_features

Simple conversion with a bit of needed cleanup.

This also fixes:
 - confusion around vlan_features in rtl8169_vlan_mode(),
 - problem with broken TSO for too big MTU (the limit is set
   at 0xFFF --- max MSS field value).

SG+IP_CSUM+TSO is left disabled by default, based on suggestion by
David Dillow.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c
This page took 0.027535 seconds and 5 git commands to generate.