summaryrefslogtreecommitdiff
path: root/sys/dev/isa/sbdsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa/sbdsp.c')
-rw-r--r--sys/dev/isa/sbdsp.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/dev/isa/sbdsp.c b/sys/dev/isa/sbdsp.c
index a716fa24fb6..d0aadc94253 100644
--- a/sys/dev/isa/sbdsp.c
+++ b/sys/dev/isa/sbdsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbdsp.c,v 1.18 2001/11/06 19:53:19 miod Exp $ */
+/* $OpenBSD: sbdsp.c,v 1.19 2002/01/20 19:56:53 ericj Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@@ -2189,9 +2189,10 @@ sbdsp_mixer_query_devinfo(addr, dip)
}
void *
-sb_malloc(addr, size, pool, flags)
+sb_malloc(addr, direction, size, pool, flags)
void *addr;
- unsigned long size;
+ int direction;
+ size_t size;
int pool;
int flags;
{
@@ -2216,10 +2217,11 @@ sb_free(addr, ptr, pool)
isa_free(ptr, pool);
}
-unsigned long
-sb_round(addr, size)
+size_t
+sb_round(addr, direction, size)
void *addr;
- unsigned long size;
+ int direction;
+ size_t size;
{
if (size > MAX_ISADMA)
size = MAX_ISADMA;