Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/tc - Fix an error in the depth of PMAG-AA MX. This ...



details:   https://anonhg.NetBSD.org/src/rev/4233aba2329b
branches:  trunk
changeset: 473945:4233aba2329b
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Wed Jun 23 01:58:22 1999 +0000

description:
- 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:

 sys/dev/tc/mfb.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r fff724745b5b -r 4233aba2329b sys/dev/tc/mfb.c
--- a/sys/dev/tc/mfb.c  Tue Jun 22 22:44:16 1999 +0000
+++ b/sys/dev/tc/mfb.c  Wed Jun 23 01:58:22 1999 +0000
@@ -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 @@
 
        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;
 



Home | Main Index | Thread Index | Old Index