[Xorg] The big multiconsole nasty

Egbert Eich eich at pdx.freedesktop.org
Tue Jul 13 12:09:12 PDT 2004

Jesse Barnes writes:
 > In the arch specific in/out routines you mean?  I see lots of lines like 
 > inb(0x3c8) in various drivers and other code...

Can you point me to them, please?

 > in/out is pretty slow already, and is only used at startup time, afaict.  Most 
 > code just does memory reads/writes to register space doesn't it?

This depends very much on the driver.

 > >
 > >  > As it stands, the X server's platform code has to assume one, global,
 > >  > I/O port base address...
 > >
 > > Not true any more. Take a look at the AXP and PPC code. Possibly also the
 > > IA64 code.
 > Yeah, I'm looking at the ia64 stuff, it's still missing the necessary support.  
 > It looks like ppc is still limited to doing legacy I/O (like the above inb) 
 > to one bus.

Are you sure? I mean I didn't implement it, but I always had the impression
that the offset values in all the IO code was introduced for that purpose.

I'll take a look later.


More information about the xorg mailing list