diff options
| author | ad <ad@NetBSD.org> | 2002-03-13 10:07:14 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2002-03-13 10:07:14 +0000 |
| commit | 4a032cc0fb42f1edcd851f4e6e76e8d2eb5bbda5 (patch) | |
| tree | c74ad40ac8622f65f90cbde2f2f41bd5f94bf259 /sys/dev/tc/mfb.c | |
| parent | 4067afd3220624891179f07d864dd29abc8a713e (diff) | |
Set RI_FORCEMONO so that wscons doesn't try to use colors (mfb is an 8-bpp
device with a depth of 1).
Diffstat (limited to 'sys/dev/tc/mfb.c')
| -rw-r--r-- | sys/dev/tc/mfb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/tc/mfb.c b/sys/dev/tc/mfb.c index 91d55e40e2f..ee5c6d0b816 100644 --- a/sys/dev/tc/mfb.c +++ b/sys/dev/tc/mfb.c @@ -1,4 +1,4 @@ -/* $NetBSD: mfb.c,v 1.29 2001/11/13 06:26:10 lukem Exp $ */ +/* $NetBSD: mfb.c,v 1.30 2002/03/13 10:07:14 ad Exp $ */ /* * Copyright (c) 1998, 1999 Tohru Nishimura. All rights reserved. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mfb.c,v 1.29 2001/11/13 06:26:10 lukem Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mfb.c,v 1.30 2002/03/13 10:07:14 ad Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -294,7 +294,7 @@ mfb_common_init(ri) /* initialize colormap and cursor hardware */ mfbhwinit(base); - ri->ri_flg = RI_CENTER; + ri->ri_flg = RI_CENTER | RI_FORCEMONO; ri->ri_depth = 8; /* !! watch out !! */ ri->ri_width = 1280; ri->ri_height = 1024; |
