From 4bd6579188e718654c35f95623fd4772f9e0ef06 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 22 Sep 2011 13:45:57 -0400 Subject: [PATCH] vgahw: Don't default to standard (port space) access routines In fact, don't default to anything; drivers must explicitly say which kind they want, and they are strongly encouraged to do MMIO if possible. This is an ABI change in that drivers that don't will crash, but drivers that are explicit will work with both old and new servers. Reviewed-by: Jeremy Huddleston Tested-by: Jeremy Huddleston Signed-off-by: Adam Jackson Reviewed-by: Jamey Sharp --- hw/xfree86/vgahw/vgaHW.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/xfree86/vgahw/vgaHW.c b/hw/xfree86/vgahw/vgaHW.c index 911bf071f..9e934f6b3 100644 --- a/hw/xfree86/vgahw/vgaHW.c +++ b/hw/xfree86/vgahw/vgaHW.c @@ -1706,9 +1706,6 @@ vgaHWGetHWRec(ScrnInfoPtr scrp) hwp->MapSize = 0; hwp->pScrn = scrp; - /* Initialise the function pointers with the standard VGA versions */ - vgaHWSetStdFuncs(hwp); - hwp->dev = xf86GetPciInfoForEntity(scrp->entityList[0]); return TRUE;