From c1f8e3aa21ace42e20014b78785475cf6f3d85d1 Mon Sep 17 00:00:00 2001 From: bjh21 Date: Mon, 18 Feb 2002 12:23:24 +0000 Subject: [PATCH] Comment out vidcvideo_setbase() (it's unused). Remove vidcvideo_mmap() (it's redundant). Add in-core RCSID. --- sys/arch/arm/iomd/vidc20config.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/sys/arch/arm/iomd/vidc20config.c b/sys/arch/arm/iomd/vidc20config.c index 757655ea00e6..a94aa07715dc 100644 --- a/sys/arch/arm/iomd/vidc20config.c +++ b/sys/arch/arm/iomd/vidc20config.c @@ -1,4 +1,4 @@ -/* $NetBSD: vidc20config.c,v 1.6 2001/12/15 22:41:44 bjh21 Exp $ */ +/* $NetBSD: vidc20config.c,v 1.7 2002/02/18 12:23:24 bjh21 Exp $ */ /* * Copyright (c) 2001 Reinoud Zandijk @@ -47,6 +47,9 @@ */ #include + +__RCSID("$NetBSD: vidc20config.c,v 1.7 2002/02/18 12:23:24 bjh21 Exp $"); + #include #include #include @@ -530,6 +533,7 @@ vidcvideo_setmode(struct vidc_mode *mode) } +#if 0 /* not used for now */ void vidcvideo_set_display_base(base) @@ -540,6 +544,7 @@ vidcvideo_set_display_base(base) dispend = base + dispsize; ptov = dispbase - phys_base; } +#endif /* @@ -583,18 +588,6 @@ vidcvideo_reinit() } -paddr_t -vidcvideo_mmap(vc, offset, nprot) - struct vconsole *vc; - off_t offset; - int nprot; -{ - if ((u_int)offset >= videomemory.vidm_size) - return (-1); - return(arm_byte_to_page(((videomemory.vidm_pbase) + (offset)))); -} - - int vidcvideo_cursor_init(int width, int height) {