Remove the "totally untested" comments for the ZorroII frame buffer

select macro. The card is confirmed to work in an A2000.
This commit is contained in:
phx 2016-06-17 07:41:56 +00:00
parent aec3683782
commit a0d99bef82
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_cv3d.c,v 1.33 2015/11/16 21:24:06 phx Exp $ */
/* $NetBSD: grf_cv3d.c,v 1.34 2016/06/17 07:41:56 phx Exp $ */
/*
* Copyright (c) 1995 Michael Teske
@ -33,7 +33,7 @@
#include "opt_amigacons.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: grf_cv3d.c,v 1.33 2015/11/16 21:24:06 phx Exp $");
__KERNEL_RCSID(0, "$NetBSD: grf_cv3d.c,v 1.34 2016/06/17 07:41:56 phx Exp $");
#include "grfcv3d.h"
#include "ite.h"
@ -1490,7 +1490,6 @@ cv3d_load_mon(struct grf_softc *gp, struct grfcv3dtext_mode *md)
gp->g_fbkva = (volatile char *)cv3d_boardaddr + 0x04000000 +
(0x00400000 * fb_flag);
} else {
/* XXX This is totaly untested */
Select_Zorro2_FrameBuffer(fb_flag);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_cv3dreg.h,v 1.12 2014/01/22 00:25:16 christos Exp $ */
/* $NetBSD: grf_cv3dreg.h,v 1.13 2016/06/17 07:41:56 phx Exp $ */
/*
* Copyright (c) 1995 Michael Teske
@ -101,7 +101,6 @@ struct grfcv3dtext_mode {
#define vgaw16(ba, reg, val) \
*((volatile unsigned short *) (((volatile char *)ba)+reg)) = val
/* XXX This is totaly untested */
#define Select_Zorro2_FrameBuffer(flag) \
do { \
*(((volatile char *)cv3d_vcode_switch_base) + \