Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/iomd Comment out vidcvideo_setbase() (it's unus...



details:   https://anonhg.NetBSD.org/src/rev/a3f2462f9665
branches:  trunk
changeset: 522400:a3f2462f9665
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Feb 18 12:23:24 2002 +0000

description:
Comment out vidcvideo_setbase() (it's unused).
Remove vidcvideo_mmap() (it's redundant).
Add in-core RCSID.

diffstat:

 sys/arch/arm/iomd/vidc20config.c |  19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diffs (54 lines):

diff -r 1fbab28bd30d -r a3f2462f9665 sys/arch/arm/iomd/vidc20config.c
--- a/sys/arch/arm/iomd/vidc20config.c  Mon Feb 18 12:18:26 2002 +0000
+++ b/sys/arch/arm/iomd/vidc20config.c  Mon Feb 18 12:23:24 2002 +0000
@@ -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 <sys/cdefs.h>
+
+__RCSID("$NetBSD: vidc20config.c,v 1.7 2002/02/18 12:23:24 bjh21 Exp $");
+
 #include <sys/types.h>
 #include <sys/param.h>
 #include <arm/iomd/vidc.h>
@@ -530,6 +533,7 @@
 }
 
 
+#if 0
 /* not used for now */
 void
 vidcvideo_set_display_base(base)
@@ -540,6 +544,7 @@
        dispend = base + dispsize;
        ptov = dispbase - phys_base;
 }
+#endif
 
 
 /*
@@ -583,18 +588,6 @@
 }
 
 
-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)
 {



Home | Main Index | Thread Index | Old Index