PCI rework

Ian Romanick idr at us.ibm.com
Tue May 2 13:40:16 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Lorenz wrote:

>>>> there's a good reason not to do it: Many PCI devices put mappable
>>>> memory addresses in config space outside the standard PCI BARs.  What
>>>> you really need is an interface to read from PCI config space and an
>>>> interface to map physicall addresses on the pci bus into memory.  Some
>>>> standard helper functions to decode the standard BARs is certainly
>>>> desirable.
>>>
>>> Excluding legacy VGA memory, can you name any?
> 
> Wacky (embedded) VGAs. The IGS 1682 for instance maps blitter registers
> to a fixed IO address which doesn't show up in any BAR. In fact this
> chip has only one BAR, for the framebuffer.

I believe that drivers for devices like this are "on their own" with the
current code already.  That is, they have to use something other than
xf86MapPciMem even in the current code.  If that's not the case, then
we'll need to add something to support those types of devices.

Of course, I don't see a driver for that device any. :P
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEV8OwX1gOwKyEAw8RAjTXAJ9EzxPvIe4huL6VDBs+yQ+e9aFh9QCeLwqE
Wrj9C0mKvhhUSnKUmeWp00o=
=bEhi
-----END PGP SIGNATURE-----



More information about the xorg mailing list