necsb(4/luna88k) is the only driver that "implements" it... through EIO.
Remove it so setfd can be removed from struct audio_hw_if.
Prodded by ratchov
OK aoyama
-/* $OpenBSD: nec86.c,v 1.5 2022/03/21 19:22:39 miod Exp $ */
+/* $OpenBSD: nec86.c,v 1.6 2022/10/19 15:34:02 kn Exp $ */
/* $NecBSD: nec86.c,v 1.11 1999/07/23 11:04:39 honda Exp $ */
/* $NetBSD$ */
.halt_output = nec86hw_halt_pdma,
.halt_input = nec86hw_halt_pdma,
.speaker_ctl = nec86hw_speaker_ctl,
- .setfd = nec86hw_setfd,
.set_port = nec86hw_mixer_set_port,
.get_port = nec86hw_mixer_get_port,
.query_devinfo = nec86hw_mixer_query_devinfo,
-/* $OpenBSD: nec86hw.c,v 1.6 2021/03/11 11:16:58 jsg Exp $ */
+/* $OpenBSD: nec86hw.c,v 1.7 2022/10/19 15:34:02 kn Exp $ */
/* $NecBSD: nec86hw.c,v 1.13 1998/03/14 07:04:54 kmatsuda Exp $ */
/* $NetBSD$ */
return 0;
}
-int
-nec86hw_setfd(void *addr, int flag)
-{
- DPRINTF(("nec86hw_setfd:\n"));
-
- /* Can't do full-duplex */
- return ENOTTY;
-}
-
int
nec86hw_mixer_set_port(void *addr, mixer_ctrl_t *cp)
{
-/* $OpenBSD: nec86hwvar.h,v 1.3 2016/09/19 06:46:43 ratchov Exp $ */
+/* $OpenBSD: nec86hwvar.h,v 1.4 2022/10/19 15:34:02 kn Exp $ */
/* $NecBSD: nec86hwvar.h,v 1.10 1998/03/14 07:04:55 kmatsuda Exp $ */
/* $NetBSD$ */
int nec86hw_commit_settings(void *);
-int nec86hw_setfd(void *, int);
-
int nec86hw_mixer_set_port(void *, mixer_ctrl_t *);
int nec86hw_mixer_get_port(void *, mixer_ctrl_t *);
int nec86hw_mixer_query_devinfo(void *, mixer_devinfo_t *);