Subject: PR/32643 CVS commit: src/sys/dev/ic
To: None <tsutsui@NetBSD.org, gnats-admin@netbsd.org,>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: netbsd-bugs
Date: 12/16/2006 02:55:04
The following reply was made to PR kern/32643; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/32643 CVS commit: src/sys/dev/ic
Date: Sat, 16 Dec 2006 02:52:17 +0000 (UTC)

 Module Name:	src
 Committed By:	tsutsui
 Date:		Sat Dec 16 02:52:17 UTC 2006
 
 Modified Files:
 	src/sys/dev/ic: rtl8169.c
 
 Log Message:
 Fix and reenable HW VLAN tagging on re(4):
 - clear re_vlanctl in DMA descriptors before starting TX and RX
   to avoid stale tags
 - use bswap16() rather than be16toh() or htons() on VLAN tag access
   since we already use htole32()
 
 Closes PR kern/32643 and also fixes HW VLAN tagging on big endian machines.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.73 -r1.74 src/sys/dev/ic/rtl8169.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.