From 275db989363b2d369cffa61f1477ed64f0e52455 Mon Sep 17 00:00:00 2001 From: ahasty Date: Thu, 26 Feb 1998 08:19:14 +0000 Subject: Radio support for bt848 cards from Flemming Jacobsen Amancio --- sys/i386/include/ioctl_bt848.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/i386/include/ioctl_bt848.h') diff --git a/sys/i386/include/ioctl_bt848.h b/sys/i386/include/ioctl_bt848.h index 17e57e5..91a0d9b 100644 --- a/sys/i386/include/ioctl_bt848.h +++ b/sys/i386/include/ioctl_bt848.h @@ -202,8 +202,13 @@ struct _bktr_clip { #define BT848_I2CWR _IOWR('x', 57, u_long) /* i2c read-write */ /* Support for radio tuner */ #define RADIO_SETMODE _IOW('x', 58, unsigned int) /* set radio modes */ +#define RADIO_GETMODE _IOR('x', 58, unsigned char) /* get radio modes */ +#define RADIO_AFC 0x01 /* These modes will probably not */ +#define RADIO_MONO 0x02 /* work on the FRxxxx. It does */ +#define RADIO_MUTE 0x08 /* work on the FMxxxx. */ #define RADIO_SETFREQ _IOW('x', 59, unsigned int) /* set frequency */ #define RADIO_GETFREQ _IOR('x', 59, unsigned int) /* set frequency */ + /* Argument is frequency*100MHz */ /* XXX - Copied from /sys/pci/brktree_reg.h */ #define BT848_IFORM_FORMAT (0x7<<0) -- cgit v1.1