Add missing definition of STATUSBIT_STEREO.

This commit is contained in:
jmcneill 2002-01-06 15:37:08 +00:00
parent 9a0fd5e477
commit 58d1fe0d04
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bktr_os.c,v 1.23 2002/01/06 02:42:45 jmcneill Exp $ */
/* $NetBSD: bktr_os.c,v 1.24 2002/01/06 15:37:08 jmcneill Exp $ */
/* FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp */
@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.23 2002/01/06 02:42:45 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: bktr_os.c,v 1.24 2002/01/06 15:37:08 jmcneill Exp $");
#ifdef __FreeBSD__
#include "bktr.h"
@ -1817,11 +1817,13 @@ bktr_get_info(void *v, struct radio_info *ri)
status = get_tuner_status(sc);
#define STATUSBIT_STEREO 0x10
ri->mute = (int)sc->audio_mute_state ? 1 : 0;
ri->stereo = (status & STATUSBIT_STEREO) ? 1 : 0;
ri->caps = RADIO_CAPS_DETECT_STEREO | RADIO_CAPS_HW_AFC;
ri->freq = tv->frequency * 10;
ri->info = (status & STATUSBIT_STEREO) ? RADIO_INFO_STEREO : 0;
#undef STATUSBIT_STEREO
/* not yet supported */
ri->volume = ri->rfreq = ri->lock = 0;