pci_enable_device for pciaccess?

Ian Romanick idr at us.ibm.com
Mon May 19 20:26:25 PDT 2008


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

Dave Airlie wrote:
| Okay I've been playing with getting posting working again in master,
|
| I can make it work on Linux if I use the OS to enable the device in
| /sys before trying to POST it.
|
| However I really think this should be pciaccess functionality, so I'd
| like to add a pci_enable_device function to libpciaccess and call it
| from the server before trying to POST secondary cards.
|
| Long term the posting should be done before X starts but I want to fix
| the regression for Fedora.
|
| the other option is to haxor the int10 module to do this on Linux, but
| I'd rather expand pciaccess.

Adding this functionality to libpciaccess is the right thing to do.
When enabling a device, to the buses leading to the device also have to
be enabled?  I was thinking about adding some functionality to iterate
from the root to a particular device.  This would facilitate enabling
the buses leading to the device and enabling VGA to a device.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIMkThX1gOwKyEAw8RAqHMAJ9wMxHA4FMGTd+5qEWIbzqn6OXr+gCgkftJ
4OF1UGzqv01iUmuimeD3DBo=
=TCZy
-----END PGP SIGNATURE-----



More information about the xorg mailing list