Subject: Re: VS4000 SCSI: status
To: Matt Thomas <matt@3am-software.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-vax
Date: 03/06/2000 20:35:56
On Mon, 06 Mar 2000 19:26:33 -0800
Matt Thomas <matt@3am-software.com> wrote:
> The problem is that the ncr53c9x MI code doesn't pass a ptr to the proc
> so I can't pass it to bus_dmamap_load. I didn't feel like changing the
> MI interface.
...and, in fact, it's not appropriate to pass the proc * in, because the
code assumes kernel addresses, because physio() calls vmapbuf() :-)
The right answer here, of course, is to use uios and bus_dmamap_load_uio()
for physio, but that's a harder problem right now.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>