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.
This commit is contained in:
parent
3c03499e5b
commit
04974fa76e
@ -13,5 +13,3 @@ OFWCONS_POLL_HZ opt_ofw.h
|
||||
# Debug IOMMU inserts/removes using diagnostic accesses. Very loud.
|
||||
IOMMU_DIAG opt_iommu.h
|
||||
PMAP_STATS opt_pmap.h
|
||||
|
||||
DEV_CREATOR opt_creator.h
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user