From 01661fd81c7a3df1af411c1c43e4b9a0afb583ed Mon Sep 17 00:00:00 2001 From: roger Date: Thu, 26 Oct 2000 16:41:48 +0000 Subject: Add new ioctls for userland access to the MSP device --- sys/i386/include/ioctl_bt848.h | 10 ++++++++++ 1 file changed, 10 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 4b6a8fb..b9dba5a 100644 --- a/sys/i386/include/ioctl_bt848.h +++ b/sys/i386/include/ioctl_bt848.h @@ -149,6 +149,16 @@ struct eeProm { */ #define BT848_I2CWR _IOWR('x', 57, u_long) /* i2c read-write */ +struct bktr_msp_control { + unsigned char function; + unsigned int address; + unsigned int data; +}; + +#define BT848_MSP_RESET _IO('x', 76) /* MSP chip reset */ +#define BT848_MSP_READ _IOWR('x', 77, struct bktr_msp_control) /* MSP chip reset */ +#define BT848_MSP_WRITE _IOWR('x', 78, struct bktr_msp_control) /* MSP chip reset */ + /* 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 */ -- cgit v1.1