Home | History | Annotate | Line # | Download | only in isa
spkrio.h revision 1.1
      1 /*	$NetBSD: spkrio.h,v 1.1 1998/04/15 20:26:19 drochner 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 #define SPKRTONE        _IOW('S', 1, tone_t)    /* emit tone */
     11 #define SPKRTUNE        _IO('S', 2)             /* emit tone sequence */
     12 
     13 typedef struct {
     14 	int	frequency;	/* in hertz */
     15 	int	duration;	/* in 1/100ths of a second */
     16 } tone_t;
     17 
     18 #endif /* _DEV_ISA_SPKR_H_ */
     19