commit | 813820b9b9adb98d4ad3cd7434eb662b0fc15684 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ftp.linux.org.uk> | Sun Dec 09 17:00:54 2007 +0000 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Dec 14 15:26:04 2007 -0500 |
tree | 21279f6910e943155de235bb416c230a4ae083e5 | |
parent | 14c9d9b03bb8ec63c77aebddea9a6f730f1b62d5 [diff] |
starfire VLAN fix Recognized VLAN ids are set via writew(), should go in host-endian. That's a long-standing bug, BTW - see http://lkml.org/lkml/2004/2/27/180 for example. What happens is that card gets VLAN id table populated by byteswapped values on little-endian boxen (so 257 works as expected, 256 and 258 do not, etc.). Bug is easily reproduced, patch fixes it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>