Re: PCI domain stuff
H. Peter Anvin (firstname.lastname@example.org)
Tue, 01 Jul 2003 09:34:21 -0700
Andy Isaacson wrote:
> On Mon, Jun 30, 2003 at 11:03:29PM -0700, David S. Miller wrote:
>> From: "H. Peter Anvin" <email@example.com>
>> Date: Mon, 30 Jun 2003 23:06:52 -0700
>> Perhaps a libdirectio would be useful?
>>The details are very PCI specific, so what you'd be working
>>on initially is a PCI centric library.
>>Over time things can be abstracted, but the initial PCI specific
>>one would be good enough for xfree86 to link to and make use
>>of which is a huge step in the right direction.
> There is some interest in the NetBSD project for such an API, as well.
> <fair at netbsd.org> filed xsrc/21986 last week.
> Perhaps a common implementation could develop.
> (OK, I can dream...)
Right, and the article brings up a particularly nasty issue -- PCI
probing from userspace is dangerous as it's inherently not atomic. That
really *is* the kernel's job, and abstracting that via a library would
make it a lot less obnoxious from XFree86's standpoint.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/