diff options
author | Adam Jackson <ajax@redhat.com> | 2011-09-22 13:45:57 -0400 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-10-15 21:18:45 -0700 |
commit | 4bd6579188e718654c35f95623fd4772f9e0ef06 (patch) | |
tree | 7237f544d97e5af56278c70fef574e00ea7ed068 | |
parent | 30fb334d218f8c1d809f88054b9fe8f5f556bb62 (diff) |
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 <jeremyhu@apple.com>
Tested-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
-rw-r--r-- | hw/xfree86/vgahw/vgaHW.c | 3 |
1 files changed, 0 insertions, 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; |