summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authornisimura <nisimura@NetBSD.org>1999-06-23 01:58:22 +0000
committernisimura <nisimura@NetBSD.org>1999-06-23 01:58:22 +0000
commit839bcbbe9fb02d5299bea05b0d299bc4aeabef7a (patch)
treeabcfb0f73b17987f04567336dea990ecb5bcc17f /sys/dev
parentb953fb04145a884f212f551103d88dfbe895e436 (diff)
- Fix an error in the depth of PMAG-AA MX. This driver can take 72Hz
virtical video retrace interrupt and was verified ok on Nanao grayscale monitor. XXX seems still confusion/mistake on Bt431 cursor image manipulation.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/tc/mfb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/tc/mfb.c b/sys/dev/tc/mfb.c
index 60b6ba72874..380335769aa 100644
--- a/sys/dev/tc/mfb.c
+++ b/sys/dev/tc/mfb.c
@@ -1,7 +1,7 @@
-/* $NetBSD: mfb.c,v 1.11 1999/05/07 08:00:31 nisimura Exp $ */
+/* $NetBSD: mfb.c,v 1.12 1999/06/23 01:58:22 nisimura Exp $ */
/*
- * Copyright (c) 1998 Tohru Nishimura. All rights reserved.
+ * Copyright (c) 1999 Tohru Nishimura. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mfb.c,v 1.11 1999/05/07 08:00:31 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfb.c,v 1.12 1999/06/23 01:58:22 nisimura Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -310,8 +310,8 @@ mfb_getdevconfig(dense_addr, dc)
dc->dc_wid = 1280;
dc->dc_ht = 1024;
- dc->dc_depth = 1;
- dc->dc_rowbytes = 2048 / 8;
+ dc->dc_depth = 8;
+ dc->dc_rowbytes = 2048;
dc->dc_videobase = dc->dc_vaddr + MX_FB_OFFSET;
dc->dc_blanked = 0;