summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev/i2svar.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-09-14 06:12:21 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-09-14 06:12:21 +0000
commitceb848007a2348912df73aefb9f2bb85a7c83592 (patch)
tree8e3da40be14132539aae22c08d6c2771c529d791 /sys/arch/macppc/dev/i2svar.h
parent737c80c27fcb5e71a7de603a7a7dfd6329683161 (diff)
Remove drain(), query_encoding(), mappage() and get_default_params()
methods from all audio drivers and from the audio_if structure as they are never called.
Diffstat (limited to 'sys/arch/macppc/dev/i2svar.h')
-rw-r--r--sys/arch/macppc/dev/i2svar.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/macppc/dev/i2svar.h b/sys/arch/macppc/dev/i2svar.h
index 8c4701fdb87..efece60bed6 100644
--- a/sys/arch/macppc/dev/i2svar.h
+++ b/sys/arch/macppc/dev/i2svar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: i2svar.h,v 1.8 2011/06/07 16:29:51 mpi Exp $ */
+/* $OpenBSD: i2svar.h,v 1.9 2016/09/14 06:12:19 ratchov Exp $ */
/*-
* Copyright (c) 2001,2003 Tsubai Masanari. All rights reserved.
@@ -96,9 +96,7 @@ void i2s_attach(struct device *, struct i2s_softc *, struct confargs *);
int i2s_intr(void *);
int i2s_open(void *, int);
void i2s_close(void *);
-int i2s_query_encoding(void *, struct audio_encoding *);
int i2s_set_params(void *, int, int, struct audio_params *, struct audio_params *);
-void i2s_get_default_params(struct audio_params *);
int i2s_round_blocksize(void *, int);
int i2s_halt_output(void *);
int i2s_halt_input(void *);
@@ -106,7 +104,6 @@ int i2s_set_port(void *, mixer_ctrl_t *);
int i2s_get_port(void *, mixer_ctrl_t *);
int i2s_query_devinfo(void *, mixer_devinfo_t *);
size_t i2s_round_buffersize(void *, int, size_t);
-paddr_t i2s_mappage(void *, void *, off_t, int);
int i2s_get_props(void *);
int i2s_trigger_output(void *, void *, void *, int, void (*)(void *),
void *, struct audio_params *);