Subject: Re: Gigabit Ethernet
To: Chris G. Demetriou <cgd@netbsd.org>
From: Matthias Drochner <drochner@zel459.zel.kfa-juelich.de>
List: port-i386
Date: 09/08/1999 21:35:43
cgd@netbsd.org said:
> * Any reason why this shouldn't be "void *" as the return type? I
> mean, caddr_t probably works just as well, but it's not obvious to me
> why its use is _ever_ right any more. 8-)
I didn't think about it too much, but caddr_t is
more convenient in many cases because one can do
arithmetics on it without a cast.
> * I suppose since it's linear that they can just add in their favorite
> offset themselves, eh? 8-)
Yes - provided it's not a void* :-)
> * when documenting this in bus_space(9), _PLEASE_ remind people of the
> necessity of using bus_space_barrier()...
Oh - documentation... good that you remind me.
best regards
Matthias