diff options
author | marius <marius@FreeBSD.org> | 2005-05-21 20:15:14 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-05-21 20:15:14 +0000 |
commit | 04974fa76eb1957d466d8fa77dcd23d008b19399 (patch) | |
tree | 78657fa3eb5b59a4f51b29d6bf261ad4a30e5216 /sys/dev/syscons/scgfbrndr.c | |
parent | 3c03499e5b87c381757115bd28ead50404867bb6 (diff) | |
download | FreeBSD-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.c | 5 |
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) { |