commit | cf9830195a3f35b1248425b69a01ee43f5b68221 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Aug 22 21:18:56 2007 -0400 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:51:57 2007 -0700 |
tree | a6ecdb00a710318c4807602141a5e55cee0a3f91 | |
parent | d3bb52b0948cf118131c951c5a34a2d4d0246171 [diff] |
fix vlan in 8139cp on big-endian Layout of opts2 is : MSB(vlan_tag) : LSB(vlan_tag) : flags : 0 : regardless of the host endianness. On little-endian the current code ends up with the right values, but on big-endian it blows. In r8169.c the same bug had been fixed in commit d35da12a40426184b1d0844104b1d464753eba19 (r8169: endianness fixes). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>