summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/gpib.h
blob: 6e17f95b053d04e876962a3b68166a93d6fcc25d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* $FreeBSD$ */

#ifndef	_I386_ISA_GPIB_H_
#define	_I386_ISA_GPIB_H_

#include <sys/ioccom.h>

/* gpib data structures */
struct gpibdata {
          char *data;  /* data string for ins and outs	*/
          unsigned char address; /* gpib address */
          int *count;
           } ;

/* IOCTL commands */
#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)

#endif /* !_I386_ISA_GPIB_H_ */
OpenPOWER on IntegriCloud