Subject: Re: CVS commit: src/sys/dev/ic
To: enami tsugutomo <enami@but-b.or.jp>
From: Sam Leffler <sam@errno.com>
List: source-changes
Date: 10/16/2003 16:14:05
On Thursday 16 October 2003 04:07 pm, enami tsugutomo wrote:
> > Actually this was just a bug, not a bus dma api difference.
>
> Also, why null packet test is done after bus_dmamap_load (not before)?
> If i read the source correctly, at least NetBSD/i386's bus_dmamap_load
> function returns with bf_nseg == dm_nsegs == 1 when data length == 0
> (though, bus_dmamap_load is inconsistent since dm_segs[0] isn't
> initialized).

Probably just another mistake.  In this case harmless.

	Sam