KZPCC-CE SCSI controller
David O'Brien
obrien at freebsd.org
Tue Aug 2 17:52:06 GMT 2005
On Tue, Aug 02, 2005 at 07:41:44PM +0200, Bernd Walter wrote:
> On Tue, Aug 02, 2005 at 10:23:22AM -0700, David O'Brien wrote:
> > It will not work as-is. I suspect it could be made to work using the
> > ugly hack we have elsewhere in src/sys:
> >
> > #ifdef __alpha__
> > #undef vtophys
> > #define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va)
>
> So this driver is not busdma'ed yet?
Correct.
> Igh - this will invalidate it for lots of machines, not just alpha.
Very well known.
> Since I'm working on > 2G support and AFAIK the asked machine can
> have more than that this may be a problem.
> I intent to panic if a driver calls vtophys on a large mem alpha.
You might want to see how many drivers still do this ugly vtophys hack.
I recall are(were) several.
--
-- David (obrien at FreeBSD.org)
More information about the freebsd-alpha
mailing list