[PATCH 0/4] pciaccess: I/O port API for non-Linux

Adam Jackson ajax at redhat.com
Thu Sep 23 07:46:49 PDT 2010


On Wed, 2010-09-22 at 18:29 -0400, Michael wrote:
> On Sep 22, 2010, at 4:10 PM, Adam Jackson wrote:
> > Not even compile-tested, but probably pretty close.  OS maintainers
> > please to be building.
> >
> > The FreeBSD backend is the only one that stands a chance of working on
> > non-x86, the rest appear to not have _any_ facility for I/O port  
> > access on other arches.
> 
> We (NetBSD) actually do have this facility since ~forever, it's in use  
> on most powerpc ports, shark and so on. Otherwise we couldn't use  
> things like Voodoo3, ct65550 on macppc or any shark onboard graphics  
> chips in X.

Doesn't appear to be used in the X server, at least from my quick read.
You do have /dev/io but the man page says it's deprecated and that
closing it doesn't drop iopl, which is a bit bizarre.

If there's a better way to be doing it on netbsd, I'm all ears.

> >  What a pity.  Also, none of these have appear to have any facility  
> > for domainful I/O, so, that won't work either.  Meh.
> 
> Whatever you mean by that. If you mean support for more than one PCI  
> host bridge with associated goo we have that as well.

From userspace?

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100923/af80ca47/attachment.pgp>


More information about the xorg-devel mailing list