Subject: Re: ALIGNED_POINTER() checks in drivers
To: None <M.Drochner@fz-juelich.de, tech-kern@netbsd.org>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-kern
Date: 03/14/1999 16:03:20
On Sat, Mar 13, 1999 at 03:20:41PM +0100, drochner@zel459.zel.kfa-juelich.de wrote:
> 
> I just had to use an ISA network adapter and got a number of these
> "buffer xxx not aligned to 2 bytes" messages.
> I'm using BUS_SPACE_DEBUG, and the buffer is not aligned indeed,
> so the message is correct in principle.
> 
> There is this ALIGNED_POINTER() check which is always "1" on
> i386, so the message is triggered even if the code checks correctly.

Is this an aligned_pointer() or an unaligned_pointer()? I'm not sure I fully
understood the problem.
	
	-is