Date: Thu, 30 Nov 2006 21:01:59 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vge if_vge.c Message-ID: <200611302101.kAUL1x3h066538@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2006-11-30 21:01:59 UTC FreeBSD src repository Modified files: sys/dev/vge if_vge.c Log: Fix the hardware VLAN tagging. TX was broken on little-endian machines and both TX and RX were broken on big-endian machines. The chip design is crazy -- on RX, it puts the 16-bit VLAN tag in network byte order (big-endian) in the 32-bit little-endian register! Thanks to John Baldwin for helping me document this change! ;-) Tested by: sat (amd64), test program (sparc64) PR: kern/105054 MFC after: 3 days Revision Changes Path 1.28 +7 -2 src/sys/dev/vge/if_vge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611302101.kAUL1x3h066538>