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:49
Module Name:	src
Committed By:	grant
Date:		Mon Jun 16 13:20:49 UTC 2003

Modified Files:
	src/sys/dev/pci [netbsd-1-6]: if_bgereg.h

Log Message:
Pull up revision 1.7 (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.6.2.1 -r1.6.2.2 src/sys/dev/pci/if_bgereg.h

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