diff options
author | Yusuf Khan <yusisamerican@gmail.com> | 2022-07-28 21:03:56 -0500 |
---|---|---|
committer | YusufKhan <yusisamerican@gmail.com> | 2022-07-29 12:50:20 +0000 |
commit | 1b735e8c9681dcccd54ea0295c4853763dabb8d1 (patch) | |
tree | 2ebefcb3bf08cb241ac7d6347a7f0d69f87b3ce1 | |
parent | adbd442a21ab67cb8da9445fcae339b4cd1134b3 (diff) |
fix nv on powerpc
Written by either Julio Merino <julio at meroh.net> or Nathan Whitehorn
<nwhitehorn at freebsd.org> (emails obfuscated similar to freebsd
convention, authorship is in doubt)
-rw-r--r-- | src/nv_driver.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c index b7188e3..c94a890 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -1543,7 +1543,11 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) xf86FreeInt10(pNv->pInt); return FALSE; } +#ifdef __powerpc__ /* XXX probably MI */ + vgaHWSetMmioFuncs(VGAHWPTR(pScrn), pNv->IOAddress, 0); +#else vgaHWSetStdFuncs(VGAHWPTR(pScrn)); +#endif /* We use a programmable clock */ pScrn->progClock = TRUE; |