summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/audio.c7
-rw-r--r--sys/dev/ksyms.c7
-rw-r--r--sys/dev/wscons/wsdisplay.c6
3 files changed, 11 insertions, 9 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c
index 670abebb6a1..551c7de96b6 100644
--- a/sys/dev/audio.c
+++ b/sys/dev/audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio.c,v 1.30 2001/10/31 11:00:24 art Exp $ */
+/* $OpenBSD: audio.c,v 1.31 2001/11/01 12:13:46 art Exp $ */
/* $NetBSD: audio.c,v 1.105 1998/09/27 16:43:56 christos Exp $ */
/*
@@ -789,10 +789,11 @@ audioselect(dev, events, p)
return (error);
}
-int
+paddr_t
audiommap(dev, off, prot)
dev_t dev;
- int off, prot;
+ off_t off;
+ int prot;
{
int unit = AUDIOUNIT(dev);
struct audio_softc *sc;
diff --git a/sys/dev/ksyms.c b/sys/dev/ksyms.c
index f72555c1ffb..6b2a9c8053e 100644
--- a/sys/dev/ksyms.c
+++ b/sys/dev/ksyms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ksyms.c,v 1.9 2001/09/17 05:16:05 jason Exp $ */
+/* $OpenBSD: ksyms.c,v 1.10 2001/11/01 12:13:47 art Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>
@@ -224,10 +224,11 @@ ksymsread(dev, uio, flags)
/* XXX - not yet */
#if 0
-int
+paddr_t
ksymsmmap(dev, off, prot)
dev_t dev;
- int off, prot;
+ off_t off;
+ int prot;
{
vaddr_t va;
paddr_t pa;
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c
index 98ac84e3f1c..65de8e1f22d 100644
--- a/sys/dev/wscons/wsdisplay.c
+++ b/sys/dev/wscons/wsdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsdisplay.c,v 1.34 2001/09/16 00:42:44 millert Exp $ */
+/* $OpenBSD: wsdisplay.c,v 1.35 2001/11/01 12:13:47 art Exp $ */
/* $NetBSD: wsdisplay.c,v 1.37.4.1 2000/06/30 16:27:53 simonb Exp $ */
/*
@@ -1260,10 +1260,10 @@ wsdisplay_cfg_ioctl(sc, cmd, data, flag, p)
return (EINVAL);
}
-int
+paddr_t
wsdisplaymmap(dev, offset, prot)
dev_t dev;
- int offset; /* XXX */
+ off_t offset;
int prot;
{
struct wsdisplay_softc *sc = wsdisplay_cd.cd_devs[WSDISPLAYUNIT(dev)];