[PATCH 2/2] Add support for HW_SKIP_CONSOLE

Adam Jackson ajax at redhat.com
Tue Nov 17 10:59:43 PST 2009


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 src/dummy_driver.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index 560b9b5..f68cfc9 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -792,6 +792,9 @@ DUMMYCreateWindow(WindowPtr pWin)
     return TRUE;
 }
 
+#ifndef HW_SKIP_CONSOLE
+#define HW_SKIP_CONSOLE 4
+#endif
 
 static Bool
 dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr)
@@ -801,7 +804,7 @@ dummyDriverFunc(ScrnInfoPtr pScrn, xorgDriverFuncOp op, pointer ptr)
     switch (op) {
 	case GET_REQUIRED_HW_INTERFACES:
 	    flag = (CARD32*)ptr;
-	    (*flag) = 0;
+	    (*flag) = HW_SKIP_CONSOLE;
 	    return TRUE;
 	default:
 	    return FALSE;
-- 
1.6.5.2



More information about the xorg-devel mailing list