summaryrefslogtreecommitdiff
path: root/sys/dev/pci/autri.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-04-16 21:57:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-04-16 21:57:24 +0000
commit8cfe6a4577283fbd292e70a1dfb76eff3191c45e (patch)
tree02a51378a8a42454c38fd64eac78db94f9c92ba3 /sys/dev/pci/autri.c
parent72f98a4d2b3f7334a19ec9b642d25c0d9777e2b5 (diff)
do not provide round_buffer if not needed unless explained why in comments
Diffstat (limited to 'sys/dev/pci/autri.c')
-rw-r--r--sys/dev/pci/autri.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/dev/pci/autri.c b/sys/dev/pci/autri.c
index 84606381a42..9de9e90305e 100644
--- a/sys/dev/pci/autri.c
+++ b/sys/dev/pci/autri.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autri.c,v 1.14 2005/04/14 12:42:16 mickey Exp $ */
+/* $OpenBSD: autri.c,v 1.15 2005/04/16 21:57:23 mickey Exp $ */
/*
* Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro.
@@ -138,7 +138,6 @@ int autri_mixer_set_port(void *, mixer_ctrl_t *);
int autri_mixer_get_port(void *, mixer_ctrl_t *);
void *autri_malloc(void *, int, size_t, int, int);
void autri_free(void *, void *, int);
-size_t autri_round_buffersize(void *, int, size_t);
paddr_t autri_mappage(void *, void *, off_t, int);
int autri_get_props(void *);
int autri_query_devinfo(void *addr, mixer_devinfo_t *dip);
@@ -167,7 +166,7 @@ struct audio_hw_if autri_hw_if = {
autri_query_devinfo,
autri_malloc,
autri_free,
- autri_round_buffersize,
+ NULL,
autri_mappage,
autri_get_props,
autri_trigger_output,
@@ -1217,15 +1216,6 @@ autri_find_dma(sc, addr)
return p;
}
-size_t
-autri_round_buffersize(addr, direction, size)
- void *addr;
- int direction;
- size_t size;
-{
- return size;
-}
-
paddr_t
autri_mappage(addr, mem, off, prot)
void *addr;