Subject: CVS commit: [netbsd-1-6] src/sys/dev/pci
To: None <source-changes@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: source-changes
Date: 06/16/2003 13:20:22
Module Name:	src
Committed By:	grant
Date:		Mon Jun 16 13:20:21 UTC 2003

Modified Files:
	src/sys/dev/pci [netbsd-1-6]: if_bge.c

Log Message:
Pull up revision 1.34 (requested by tron in ticket #1249):

FreeBSD fix for problems reported (to FreeBSD) with 16-bit accesses
to 32-bit device registers. Add (untested) NetBSD fix for big-endian hosts.
From FreeBSD versions:
	if_bge.c:	1.26 and 1.27
	if_bgereg.h: 1.12

FreeBSD (MFC) comment:

MFC:  Avoid 16-bit accesses to device memory.  Use volatile where
appropriate in referencing device memory.  Parenthesize BGE_HOSTADDR
define properly.


To generate a diff of this commit:
cvs rdiff -r1.29.2.2 -r1.29.2.3 src/sys/dev/pci/if_bge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.