net/smsc911x.c: Set the VLAN1 register to fix VLAN MTU problem
authorGöran Weinholt <weinholt@csbnet.se>
Wed, 2 Mar 2011 04:07:21 +0000 (04:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2011 20:30:12 +0000 (12:30 -0800)
commitf277e65e7a2d360189f760baca42f3ca2f62dd7a
tree6d6cdfe42ad1b7b687ed18d870db95af4982bd1b
parent9b3de1ef1ba0aa1129a9f857f07a6a97d954c6fd
net/smsc911x.c: Set the VLAN1 register to fix VLAN MTU problem

The smsc911x driver would drop frames longer than 1518 bytes, which is a
problem for networks with VLAN tagging. The VLAN1 tag register is used
to increase the legal frame size to 1522 when a VLAN tag is identified.

Signed-off-by: Göran Weinholt <weinholt@csbnet.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c