On Tuesday 07 July 2009 20:03:10 Rafał Miłecki wrote:
> W dniu 7 lipca 2009 15:17 użytkownik Michael Buesch <[email protected]> napisał:
> > Your register accesses seem to be indirect:
> >        r...@mini:> inb 0x3C4 #check which register is active
> >        0x00
> >        r...@mini:> outb 0x3C4 0x2a #i want to acess register 2A
> > Can you explain how the register access works exactly? Is this MMIO or is 
> > this
> > x86 in/out instructions (PIO)?
> 
> Sorry, I started reading openChrome code yesterday and don't even know
> that. It uses vgaHWPtr with some hidden initialization. Plus private
> openChrome's function are ready for both PIO and MMIO:
> 
> >     if (hwp->MMIOBase)
> >         MMIO_OUT8(hwp->MMIOBase, hwp->MMIOOffset + address, value);
> >     else
> >         outb(hwp->PIOOffset + address, value);

Ok, you should probably check if it's possible (with some hacks) to select
between MMIO and PIO. Maybe you don't have a choice and it's hardware dependent.
But if it isn't, you should check which one of these shows bad behavior. That 
might give
you some extra hints.

-- 
Greetings, Michael.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to