Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 09/13/2005 05:50:29
Module Name:	src
Committed By:	martin
Date:		Tue Sep 13 05:50:29 UTC 2005

Modified Files:
	src/sys/contrib/dev/ic: athhal_osdep.c athhal_osdep.h
	src/sys/dev/ic: ath.c

Log Message:
The entity passed to the HAL as a HAL_BUS_HANDLE needs to be an integral
or pointer type. So on sparc64 (and maybe others too?) where
bus_space_handle_t is a struct, pass the address of the bus_space_handle_t
and adjust the register access functions accordingly.

While there, slightly optimize the bus_space_* usage in the register
access functions and macros.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/contrib/dev/ic/athhal_osdep.c \
    src/sys/contrib/dev/ic/athhal_osdep.h
cvs rdiff -r1.58 -r1.59 src/sys/dev/ic/ath.c

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