mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-19 08:13:57 +00:00
Switch DE4 to vt(4) and enable kbdmux
This commit is contained in:
parent
9e53e3c8e0
commit
0f49259d59
|
@ -222,7 +222,7 @@ void terasic_mtl_blend_textfg_set(struct terasic_mtl_softc *sc,
|
|||
void terasic_mtl_blend_textbg_set(struct terasic_mtl_softc *sc,
|
||||
uint8_t alpha);
|
||||
void terasic_mtl_reg_pixel_endian_set(struct terasic_mtl_softc *sc,
|
||||
int big_endian);
|
||||
int endian_swap);
|
||||
|
||||
/*
|
||||
* Text frame buffer I/O routines.
|
||||
|
|
|
@ -205,13 +205,13 @@ terasic_mtl_blend_textbg_set(struct terasic_mtl_softc *sc, uint8_t alpha)
|
|||
}
|
||||
|
||||
void
|
||||
terasic_mtl_reg_pixel_endian_set(struct terasic_mtl_softc *sc, int big_endian)
|
||||
terasic_mtl_reg_pixel_endian_set(struct terasic_mtl_softc *sc, int endian_swap)
|
||||
{
|
||||
uint32_t v;
|
||||
|
||||
TERASIC_MTL_LOCK(sc);
|
||||
terasic_mtl_reg_blend_get(sc, &v);
|
||||
if (big_endian)
|
||||
if (endian_swap)
|
||||
v |= TERASIC_MTL_BLEND_PIXEL_ENDIAN_SWAP;
|
||||
else
|
||||
v &= ~TERASIC_MTL_BLEND_PIXEL_ENDIAN_SWAP;
|
||||
|
|
|
@ -33,8 +33,8 @@ device cfi
|
|||
device cfid
|
||||
options CFI_SUPPORT_STRATAFLASH
|
||||
options ATSE_CFI_HACK
|
||||
device sc
|
||||
#device vt
|
||||
device vt
|
||||
device kbdmux
|
||||
|
||||
device uart
|
||||
|
||||
|
|
Loading…
Reference in a new issue