tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xorg for alpha



On Tue, Jan 13, 2009 at 11:59:35PM -0500, Michael wrote:
> >(II) memory base = 0xa7a486b7525203d
> >
> >Any idea still welcome ...
> 
> (II) memory base = 0x2074657366666f20
> (II) memory base = 0x2074657366666f20
> 
> These look bogus too.

Yes

> I don't think Xorg's alpha-specific PCI support code works right on  
> NetBSD

It looks a lot like what we had in your XFree86 tree; and this one works
at last on a PWS500 (I couldn't test xorg on a PWS500 yet; I have to find
a battery to make it work again). The same XFree86 has issues on XP1000,
so it may be a Tsunami-specific issue.

> - I think you should do as sparc64 and the powerpc ports do -  
> use netbsdPci.c / ppc_video.c and mmap PCI resources through /dev/ 
> ttyE0 at offset == bus address. Much less hassle.

How does it work with multiple VGA adapters ? Also, alpha support
graphic adapters which are not VGA (like the TGA for example)

> If you need PIO  
> access define PCI_MAGIC_IO_RANGE to something never used by PCI memory  
> resources, the necessary voodoo is already in place in vga_pci.c.
> This of course assumes that alpha, like sparc and powerpc, accesses  
> PCI IO space through some special memory range.

I'm not sure if it does or not. inx/outx are defined, but I've looked
closely at what they're doing in userland.

> If that's not the case  
> please ignore the bit about PCI_MAGIC_IO_RANGE.
> For mga you won't need PIO anyway.

thanks !

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index