Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic There's no function like vga_common_setup.
details: https://anonhg.NetBSD.org/src/rev/39393686d3cb
branches: trunk
changeset: 533678:39393686d3cb
user: junyoung <junyoung%NetBSD.org@localhost>
date: Sun Jul 07 07:34:54 2002 +0000
description:
There's no function like vga_common_setup.
diffstat:
sys/dev/ic/vga.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r 3f6ba21e9987 -r 39393686d3cb sys/dev/ic/vga.c
--- a/sys/dev/ic/vga.c Sun Jul 07 07:05:40 2002 +0000
+++ b/sys/dev/ic/vga.c Sun Jul 07 07:34:54 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vga.c,v 1.60 2002/07/07 06:36:33 junyoung Exp $ */
+/* $NetBSD: vga.c,v 1.61 2002/07/07 07:34:54 junyoung Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vga.c,v 1.60 2002/07/07 06:36:33 junyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vga.c,v 1.61 2002/07/07 07:34:54 junyoung Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -563,7 +563,7 @@
vh->vh_memt = memt;
if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga))
- panic("vga_common_setup: couldn't map vga io");
+ panic("vga_init: couldn't map vga io");
/* read "misc output register" */
mor = bus_space_read_1(vh->vh_iot, vh->vh_ioh_vga, 0xc);
@@ -571,15 +571,15 @@
if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0,
&vh->vh_ioh_6845))
- panic("vga_common_setup: couldn't map 6845 io");
+ panic("vga_init: couldn't map 6845 io");
if (bus_space_map(vh->vh_memt, 0xa0000, 0x20000, 0, &vh->vh_allmemh))
- panic("vga_common_setup: couldn't map memory");
+ panic("vga_init: couldn't map memory");
if (bus_space_subregion(vh->vh_memt, vh->vh_allmemh,
(vh->vh_mono ? 0x10000 : 0x18000), 0x8000,
&vh->vh_memh))
- panic("vga_common_setup: mem subrange failed");
+ panic("vga_init: mem subrange failed");
/* should only reserve the space (no need to map - save KVM) */
vc->vc_biostag = memt;
Home |
Main Index |
Thread Index |
Old Index