mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-09 23:22:22 +00:00
pci: Port xf86MapLegacyIO to pciaccess
Per-domain I/O is now something drivers must manually request, and must keep track of within their own state rather than in the ScrnInfoRec. It's not really possible to split that into two steps without an additional intermediate ABI break, so don't even try. Drivers that want source compatibility should ifdef on the presence of xf86UnmapLegacyIO. As a fringe benefit, domain-aware I/O is now OS-independent, relying only on support in pciaccess. Simplify OS PCI setup to reflect this. The IOADDRESS type is kept around to help drivers through the API transition and will be removed at some point in the future. Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Tested-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jamey Sharp <jamey@minilop.net>
This commit is contained in:
parent
6d9efdce0d
commit
858fbbb40d
9 changed files with 22 additions and 157 deletions
|
|
@ -742,7 +742,6 @@ typedef struct _ScrnInfoRec {
|
|||
unsigned long biosBase; /* Base address of video BIOS */
|
||||
unsigned long memPhysBase; /* Physical address of FB */
|
||||
unsigned long fbOffset; /* Offset of FB in the above */
|
||||
IOADDRESS domainIOBase; /* Domain I/O base address */
|
||||
int memClk; /* memory clock */
|
||||
int textClockFreq; /* clock of text mode */
|
||||
Bool flipPixels; /* swap default black/white */
|
||||
|
|
|
|||
Loading…
Reference in a new issue