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:
parent
aec3683782
commit
a0d99bef82
|
@ -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
|
* Copyright (c) 1995 Michael Teske
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
#include "opt_amigacons.h"
|
#include "opt_amigacons.h"
|
||||||
|
|
||||||
#include <sys/cdefs.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 "grfcv3d.h"
|
||||||
#include "ite.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 +
|
gp->g_fbkva = (volatile char *)cv3d_boardaddr + 0x04000000 +
|
||||||
(0x00400000 * fb_flag);
|
(0x00400000 * fb_flag);
|
||||||
} else {
|
} else {
|
||||||
/* XXX This is totaly untested */
|
|
||||||
Select_Zorro2_FrameBuffer(fb_flag);
|
Select_Zorro2_FrameBuffer(fb_flag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
* Copyright (c) 1995 Michael Teske
|
||||||
|
@ -101,7 +101,6 @@ struct grfcv3dtext_mode {
|
||||||
#define vgaw16(ba, reg, val) \
|
#define vgaw16(ba, reg, val) \
|
||||||
*((volatile unsigned short *) (((volatile char *)ba)+reg)) = val
|
*((volatile unsigned short *) (((volatile char *)ba)+reg)) = val
|
||||||
|
|
||||||
/* XXX This is totaly untested */
|
|
||||||
#define Select_Zorro2_FrameBuffer(flag) \
|
#define Select_Zorro2_FrameBuffer(flag) \
|
||||||
do { \
|
do { \
|
||||||
*(((volatile char *)cv3d_vcode_switch_base) + \
|
*(((volatile char *)cv3d_vcode_switch_base) + \
|
||||||
|
|
Loading…
Reference in New Issue