From: Al Viro Date: Sun, 9 Dec 2007 17:00:54 +0000 (+0000) Subject: starfire VLAN fix X-Git-Tag: v2.6.24-rc6~22^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=813820b9b9adb98d4ad3cd7434eb662b0fc15684;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed