/*
 * 5799-WZQ (C) COPYRIGHT IBM CORPORATION  1986
 * LICENSED MATERIALS - PROPERTY OF IBM
 * REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
 */
/* $Header:aedioctl.h 12.0$ */
/* $ACIS:aedioctl.h 12.0$ */
/* $Source: /ibm/acis/usr/sys/h/RCS/aedioctl.h,v $ */

#if !defined(lint) && !defined(LOCORE)  && defined(RCS_HDRS)
static char *rcsidaedioctl = "$Header:aedioctl.h 12.0$";
#endif

/* AED ioctl defines */
#define AEDGET_CTRL_LOC		_IOR(a,0,long)
#define AEDSET_CTRL_LOC		_IOWR(a,1,long)
#define AEDGET_SRAM_LOC		_IOR(a,2,long)
#define AEDRESET		_IO(a,3)
#define AEDSTART		_IO(a,4)
#define AEDSTOP			_IO(a,5)
#define AEDSTATE		_IOR(a,6,long)
#define AEDSEM_SET_WAIT		_IOWR(a,7,short)
#define AED_TOG_DEBUG		_IO(a,8)
#define AEDDELAY		_IO(a,9)
#define AED_LEDS		_IOWR(a,10,int)
#define AEDSEM_SET		_IOWR(a,11,short)
#define AEDSEM_UNTIL		_IOWR(a,12,short)
#define AEDSEM_WHILE		_IOWR(a,13,short)
#define AEDSEM_READ		_IOR(a,14,short)
#define AEDSEM_TIMEOUT		_IOWR(a,15,int)
#define AED_BEEP		_IO(a,16)

#define AED_RESET		0x0000
#define AED_STOP		0x1000
#define AED_START		0x4000

/* Indicate which array entry in linesw[] to use for /dev/aedsout */
#define AEDSO_DISC	6
