Add one new dispaly type for DEC TC TX 8/24bpp framebuffer. Currently acts
as an 8bpp pseudo color device.
This commit is contained in:
parent
2199f8c078
commit
1f50d00cc1
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tfb.c,v 1.17 1999/08/25 07:56:22 nisimura Exp $ */
|
||||
/* $NetBSD: tfb.c,v 1.18 1999/09/20 06:29:06 nisimura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 1999 Tohru Nishimura. All rights reserved.
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: tfb.c,v 1.17 1999/08/25 07:56:22 nisimura Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tfb.c,v 1.18 1999/09/20 06:29:06 nisimura Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -434,8 +434,7 @@ tfbioctl(v, cmd, data, flag, p)
|
||||
|
||||
switch (cmd) {
|
||||
case WSDISPLAYIO_GTYPE:
|
||||
*(u_int *)data = /* WSDISPLAY_TYPE_TX */ 0x19980910;
|
||||
printf("WSDISPLAYIO_GTYPE: %d\n", *(u_int *)data);
|
||||
*(u_int *)data = WSDISPLAY_TYPE_TX;
|
||||
return (0);
|
||||
|
||||
case WSDISPLAYIO_GINFO:
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wsconsio.h,v 1.19 1999/07/29 18:20:02 augustss Exp $ */
|
||||
/* $NetBSD: wsconsio.h,v 1.20 1999/09/20 06:29:07 nisimura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
|
||||
@ -181,18 +181,19 @@ struct wskbd_map_data {
|
||||
#define WSDISPLAY_TYPE_UNKNOWN 0 /* unknown */
|
||||
#define WSDISPLAY_TYPE_PM_MONO 1 /* DEC [23]100 mono */
|
||||
#define WSDISPLAY_TYPE_PM_COLOR 2 /* DEC [23]100 color */
|
||||
#define WSDISPLAY_TYPE_CFB 3 /* DEC TC CFB */
|
||||
#define WSDISPLAY_TYPE_CFB 3 /* DEC TC CFB (CX) */
|
||||
#define WSDISPLAY_TYPE_XCFB 4 /* DEC `maxine' onboard fb */
|
||||
#define WSDISPLAY_TYPE_MFB 5 /* DEC TC MFB */
|
||||
#define WSDISPLAY_TYPE_SFB 6 /* DEC TC SFB */
|
||||
#define WSDISPLAY_TYPE_MFB 5 /* DEC TC MFB (MX) */
|
||||
#define WSDISPLAY_TYPE_SFB 6 /* DEC TC SFB (HX) */
|
||||
#define WSDISPLAY_TYPE_ISAVGA 7 /* (generic) ISA VGA */
|
||||
#define WSDISPLAY_TYPE_PCIVGA 8 /* (generic) PCI VGA */
|
||||
#define WSDISPLAY_TYPE_TGA 9 /* DEC PCI TGA */
|
||||
#define WSDISPLAY_TYPE_SFBP 10 /* DEC TC SFB+ */
|
||||
#define WSDISPLAY_TYPE_SFBP 10 /* DEC TC SFB+ (HX+) */
|
||||
#define WSDISPLAY_TYPE_PCIMISC 11 /* (generic) PCI misc. disp. */
|
||||
#define WSDISPLAY_TYPE_NEXTMONO 12 /* NeXT mono display */
|
||||
#define WSDISPLAY_TYPE_PX 13 /* DEC TC PX */
|
||||
#define WSDISPLAY_TYPE_PXG 14 /* DEC TC PXG */
|
||||
#define WSDISPLAY_TYPE_TX 15 /* DEC TC TX */
|
||||
|
||||
/* Basic display information. Not applicable to all display types. */
|
||||
struct wsdisplay_fbinfo {
|
||||
|
Loading…
Reference in New Issue
Block a user