mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
b33c1067f8
commit
912dd06aed
2 changed files with 1 additions and 6 deletions
|
|
@ -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…
Reference in a new issue