From b618c3d0693aec564c6746238fd05d94e31d3b76 Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 3 Apr 2012 14:54:55 +0000 Subject: Tue Apr 3 14:54:45 UTC 2012 --- extra/xf86-video-ast/ast-0.93.9-vga.patch | 38 ------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 extra/xf86-video-ast/ast-0.93.9-vga.patch (limited to 'extra/xf86-video-ast/ast-0.93.9-vga.patch') diff --git a/extra/xf86-video-ast/ast-0.93.9-vga.patch b/extra/xf86-video-ast/ast-0.93.9-vga.patch deleted file mode 100644 index e05a78f56..000000000 --- a/extra/xf86-video-ast/ast-0.93.9-vga.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 4a7eda24050b42072c77d527257609e743e8dc78 Mon Sep 17 00:00:00 2001 -From: Adam Jackson -Date: Wed, 16 Nov 2011 20:09:40 +0000 -Subject: Adapt to domain changes in videoabi 12 - -This is a blind change, I don't have this hardware handy to test with. -It probably wants the same new API that tdfx wants. - -Signed-off-by: Adam Jackson ---- -diff --git a/src/ast_driver.c b/src/ast_driver.c -index bd3d338..128538f 100644 ---- a/src/ast_driver.c -+++ b/src/ast_driver.c -@@ -498,11 +498,20 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags) - (pScrn->chipset != NULL) ? pScrn->chipset : "Unknown ast"); - - /* Resource Allocation */ -+#if ABI_VIDEODRV_VERSION < 12 - pAST->IODBase = pScrn->domainIOBase; -+#else -+ pAST->IODBase = 0; -+#endif - /* "Patch" the PIOOffset inside vgaHW in order to force - * the vgaHW module to use our relocated i/o ports. - */ -- VGAHWPTR(pScrn)->PIOOffset = pAST->PIOOffset = pAST->IODBase + PCI_REGION_BASE(pAST->PciInfo, 2, REGION_IO) - 0x380; -+ -+#if ABI_VIDEODRV_VERSION < 12 -+ VGAHWPTR(pScrn)->PIOOffset = /* ... */ -+#endif -+ pAST->PIOOffset = -+ pAST->IODBase + PCI_REGION_BASE(pAST->PciInfo, 2, REGION_IO) - 0x380; - - pAST->RelocateIO = (IOADDRESS)(PCI_REGION_BASE(pAST->PciInfo, 2, REGION_IO) + pAST->IODBase); - --- -cgit v0.9.0.2-2-gbebe -- cgit v1.2.3-54-g00ecf