Subject: Re: if_iy's use of bus_space_write_{_multi)_2
To: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 07/20/2000 23:04:11
On Thu, Jul 20, 2000 at 05:16:27PM +0200, Ignatios Souvatzis wrote:
> Hello,
> 
> my own driver (sys/dev/isa/if_iy.c) looks fishy to me.
> 
> When writing network packet data, and the multicast setup stuff, shouldn't
> I use the _stream_ version of said access methods? (see functions
> iy_mc_setup, iystart, and iyget)

I think this would be correct, yes.

> 
> The funny thing is that it works on a little-endian (i386) machine...

i386 and ISA are both little endian, so the _strean_ and non _stream_ versions
are identical. You would have problems on big-endian boxes.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--