1996-09-21 15:59:43 +01:00
|
|
|
#ifndef _I386_ISA_GPIB_H_
|
|
|
|
#define _I386_ISA_GPIB_H_
|
|
|
|
|
|
|
|
#include <sys/ioccom.h>
|
|
|
|
|
1994-12-17 08:07:03 +00:00
|
|
|
/* gpib data structures */
|
|
|
|
struct gpibdata {
|
|
|
|
char *data; /* data string for ins and outs */
|
1995-05-30 09:16:23 +01:00
|
|
|
unsigned char address; /* gpib address */
|
|
|
|
int *count;
|
|
|
|
} ;
|
1994-12-17 08:07:03 +00:00
|
|
|
|
|
|
|
/* IOCTL commands */
|
1995-05-30 09:16:23 +01:00
|
|
|
#define GPIBWRITE _IOW('g',1,struct gpibdata)
|
|
|
|
#define GPIBREAD _IOW('g',2,struct gpibdata)
|
|
|
|
#define GPIBINIT _IOW('g',3,struct gpibdata)
|
|
|
|
#define GPIBTRIGGER _IOW('g',4,struct gpibdata)
|
|
|
|
#define GPIBREMOTE _IOW('g',5,struct gpibdata)
|
|
|
|
#define GPIBLOCAL _IOW('g',6,struct gpibdata)
|
|
|
|
#define GPIBMTRIGGER _IOW('g',7,struct gpibdata)
|
|
|
|
#define GPIBMREMOTE _IOW('g',8,struct gpibdata)
|
|
|
|
#define GPIBMLOCAL _IOW('g',9,struct gpibdata)
|
|
|
|
#define GPIBSPOLL _IOW('g',10,struct gpibdata)
|
1996-09-21 15:59:43 +01:00
|
|
|
|
|
|
|
#endif /* !_I386_ISA_GPIB_H_ */
|