summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-02-04 06:24:48 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-02-04 06:24:48 +0000
commitecbae0d91a1a1d71812eaa67d60c348f95610a27 (patch)
treec840b8272ad0d98cc5887ea2af80cf2d5902f514
parentc8b59cd388cc39bae79799e1a3d09fc548ca1aee (diff)
Recognize WSDISPLAY_TYPE_SMFB
-rw-r--r--driver/xf86-video-wsfb/src/wsfb_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/xf86-video-wsfb/src/wsfb_driver.c b/driver/xf86-video-wsfb/src/wsfb_driver.c
index e3e5df59e..697ac1d4c 100644
--- a/driver/xf86-video-wsfb/src/wsfb_driver.c
+++ b/driver/xf86-video-wsfb/src/wsfb_driver.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsfb_driver.c,v 1.19 2009/11/22 18:48:19 matthieu Exp $ */
+/* $OpenBSD: wsfb_driver.c,v 1.20 2010/02/04 06:24:47 matthieu Exp $ */
/*
* Copyright (c) 2001 Matthieu Herrb
* All rights reserved.
@@ -595,6 +595,7 @@ WsfbPreInit(ScrnInfoPtr pScrn, int flags)
masks.blue = 0xff0000;
break;
case WSDISPLAY_TYPE_PXALCD:
+ case WSDISPLAY_TYPE_SMFB:
masks.red = 0x1f << 11;
masks.green = 0x3f << 5;
masks.blue = 0x1f;