mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-08 10:19:00 +00:00
Since the transition to Xserver 1.12, the standard vgaHW layer
that depends on libpciaccess and is broken on macppc, so use vgaHWSetMmioFuncs() instead of vgaHWSetStdFuncs() and unbreak the nv driver on this platfrom. ok matthieu@
This commit is contained in:
@@ -1785,7 +1785,11 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
}
|
||||
xf86DrvMsg(pScrn->scrnIndex, from, "MMIO registers at 0x%lX\n",
|
||||
(unsigned long)pNv->IOAddress);
|
||||
|
||||
|
||||
#if defined(__powerpc__)
|
||||
vgaHWSetMmioFuncs(VGAHWPTR(pScrn), (CARD8 *)pNv->IOAddress, 0);
|
||||
#endif
|
||||
|
||||
#ifndef XSERVER_LIBPCIACCESS
|
||||
if (xf86RegisterResources(pNv->pEnt->index, NULL, ResExclusive)) {
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
|
||||
|
||||
Reference in New Issue
Block a user