From 706f4931bfa8ade57b3fca119fd788fc9163dd43 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 17 Nov 2011 15:51:42 -0500 Subject: Check ABI major not encoded ABI Signed-off-by: Adam Jackson --- src/ast_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ast_driver.c') diff --git a/src/ast_driver.c b/src/ast_driver.c index 128538f..1f85816 100644 --- a/src/ast_driver.c +++ b/src/ast_driver.c @@ -498,7 +498,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags) (pScrn->chipset != NULL) ? pScrn->chipset : "Unknown ast"); /* Resource Allocation */ -#if ABI_VIDEODRV_VERSION < 12 +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12 pAST->IODBase = pScrn->domainIOBase; #else pAST->IODBase = 0; @@ -507,7 +507,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags) * the vgaHW module to use our relocated i/o ports. */ -#if ABI_VIDEODRV_VERSION < 12 +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12 VGAHWPTR(pScrn)->PIOOffset = /* ... */ #endif pAST->PIOOffset = -- cgit v1.2.3