Comment out vidcvideo_setbase() (it's unused).

Remove vidcvideo_mmap() (it's redundant).
Add in-core RCSID.
This commit is contained in:
bjh21 2002-02-18 12:23:24 +00:00
parent 1a140d2090
commit c1f8e3aa21
1 changed files with 6 additions and 13 deletions

View File

@ -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 @@ 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)
{