Subject: Re: Mach64 framebuffer driver and testers needed
To: None <>
From: Bang Jun-Young <>
List: tech-kern
Date: 01/22/2002 10:10:45
On Mon, Jan 21, 2002 at 06:38:12PM +0100, Martin Husemann wrote:
> > I would appreciate it if you would see what it prints on the screen
> > and send the output to me (dmesg preferrable).
> Hehe, no machine dependend code, eh?

Just my guess. :) When I looked into XFree86 sources, there was
no platform specific code other than powerpc. 

> Ok, I had to rename the "fb" attribute in files.fb to "machfb", since it
> clashed with other framebuffers in sparc64 config files.

The name `mach' is somewhat confusing. I was considering renaming
it to `machvixiv' (=64?) or `atimach'. `machfb' is better, I think. :)

> I then could configure it, but it needs major changes to even be able
> to compile on sparc64.
> All the reg{r/w}[b] routines need a rewrite, based on bus_spac_*
> functions. The use of u_int32_t in this context is, of course,
> highly 32 bit specific.

This is the place where I didn't understand how the linear mapping
works on non-x86 architecture.

And the reason why I used u_int32_t was the following code in

		if (PCI_MAPREG_MEM_TYPE(psc->sc_bars[bar].vb_type) ==
			/* XXX */
			printf("%s: WARNING: ignoring 64-bit BAR @ 0x%02x\n",
			    sc->sc_dev.dv_xname, reg);

Does NetBSD support 64 bit PCI I/O? Or is it possible to use 64 bit
capable cards on 32 bit machines?


Bang Jun-Young <>