summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/scgfbrndr.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2005-05-21 20:15:14 +0000
committermarius <marius@FreeBSD.org>2005-05-21 20:15:14 +0000
commit04974fa76eb1957d466d8fa77dcd23d008b19399 (patch)
tree78657fa3eb5b59a4f51b29d6bf261ad4a30e5216 /sys/dev/syscons/scgfbrndr.c
parent3c03499e5b87c381757115bd28ead50404867bb6 (diff)
downloadFreeBSD-src-04974fa76eb1957d466d8fa77dcd23d008b19399.zip
FreeBSD-src-04974fa76eb1957d466d8fa77dcd23d008b19399.tar.gz
For sparc64 conditionalize the compilation of the gfb_cursor() variant
which doesn't assume a hardware cursor on __sparc64__ rather than on DEV_CREATOR. If we want to include more than one framebuffer driver in e.g. the GENERIC kernel all drivers have to work the same way. Now that DEV_CREATOR is no longer used remove it from options.sparc64.
Diffstat (limited to 'sys/dev/syscons/scgfbrndr.c')
-rw-r--r--sys/dev/syscons/scgfbrndr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/syscons/scgfbrndr.c b/sys/dev/syscons/scgfbrndr.c
index cba157e..e105d1d 100644
--- a/sys/dev/syscons/scgfbrndr.c
+++ b/sys/dev/syscons/scgfbrndr.c
@@ -31,9 +31,6 @@ __FBSDID("$FreeBSD$");
#include "opt_syscons.h"
#include "opt_gfb.h"
-#ifdef __sparc64__
-#include "opt_creator.h"
-#endif
#ifdef __powerpc__
#include "opt_ofwfb.h"
#endif
@@ -213,7 +210,7 @@ gfb_cursor_shape(scr_stat *scp, int base, int height, int blink)
static int pxlblinkrate = 0;
-#if defined(DEV_CREATOR) || defined(SC_OFWFB)
+#if defined(__sparc64__) || defined(SC_OFWFB)
static void
gfb_cursor(scr_stat *scp, int at, int blink, int on, int flip)
{
OpenPOWER on IntegriCloud