1 /*	$NetBSD: spkrio.h,v 1.2 2015/09/06 06:01:00 dholland Exp $	*/
2 
3 /*
4  * spkr.h -- interface definitions for speaker ioctl()
5  */
6 
7 #ifndef _DEV_ISA_SPKR_H_
8 #define _DEV_ISA_SPKR_H_
9 
10 #include <sys/ioccom.h>
11 
12 #define SPKRTONE        _IOW('S', 1, tone_t)    /* emit tone */
13 #define SPKRTUNE        _IO('S', 2)             /* emit tone sequence */
14 
15 typedef struct {
16 	int	frequency;	/* in hertz */
17 	int	duration;	/* in 1/100ths of a second */
18 } tone_t;
19 
20 #endif /* _DEV_ISA_SPKR_H_ */
21