map --> mmap

This commit is contained in:
mycroft 1995-04-10 05:45:26 +00:00
parent 11ea6e42ce
commit ca5caf005a
4 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bw2.c,v 1.2 1995/04/07 02:37:18 gwr Exp $ */
/* $NetBSD: bw2.c,v 1.3 1995/04/10 05:45:26 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@ -88,7 +88,7 @@ struct cfdriver bwtwocd = {
/* XXX we do not handle frame buffer interrupts */
/* frame buffer generic driver */
int bw2open(), bw2close(), bw2ioctl(), bw2map();
int bw2open(), bw2close(), bw2ioctl(), bw2mmap();
static int bw2gvideo __P((struct fbdevice *, int *));
static int bw2svideo __P((struct fbdevice *, int *));
@ -215,7 +215,7 @@ bw2ioctl(dev, cmd, data, flags, p)
* offset, allowing for the given protection, or return -1 for error.
*/
int
bw2map(dev, off, prot)
bw2mmap(dev, off, prot)
dev_t dev;
int off, prot;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: cg2.c,v 1.2 1995/04/08 04:40:27 gwr Exp $ */
/* $NetBSD: cg2.c,v 1.3 1995/04/10 05:45:27 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@ -99,7 +99,7 @@ struct cfdriver cgtwocd = {
DV_DULL, sizeof(struct cg2_softc) };
/* frame buffer generic driver */
int cg2open(), cg2close(), cg2map();
int cg2open(), cg2close(), cg2mmap();
static int cg2gattr __P((struct fbdevice *, struct fbgattr *));
static int cg2gvideo __P((struct fbdevice *, int *));
@ -229,7 +229,7 @@ cg2ioctl(dev, cmd, data, flags, p)
* offset, allowing for the given protection, or return -1 for error.
*/
int
cg2map(dev, off, prot)
cg2mmap(dev, off, prot)
dev_t dev;
int off, prot;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: cg4.c,v 1.3 1995/04/07 05:19:24 gwr Exp $ */
/* $NetBSD: cg4.c,v 1.4 1995/04/10 05:45:29 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@ -92,7 +92,7 @@ struct cfdriver cgfourcd = {
DV_DULL, sizeof(struct cg4_softc) };
/* frame buffer generic driver */
int cg4open(), cg4close(), cg4map();
int cg4open(), cg4close(), cg4mmap();
static int cg4gattr __P((struct fbdevice *, struct fbgattr *));
static int cg4gvideo __P((struct fbdevice *, int *));
@ -255,7 +255,7 @@ cg4ioctl(dev, cmd, data, flags, p)
* 1024k color memory
*/
int
cg4map(dev, off, prot)
cg4mmap(dev, off, prot)
dev_t dev;
register int off;
int prot;

View File

@ -1,4 +1,4 @@
/* $NetBSD: fb.c,v 1.2 1995/04/07 02:52:28 gwr Exp $ */
/* $NetBSD: fb.c,v 1.3 1995/04/10 05:45:56 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@ -110,7 +110,7 @@ fbioctl(dev, cmd, data, flags, p)
}
int
fbmap(dev, off, prot)
fbmmap(dev, off, prot)
dev_t dev;
int off, prot;
{