Initial import from FreeBSD RELENG_4:
[dragonfly.git] / sys / dev / misc / gpib / gpib.h
CommitLineData
984263bc
MD
1/* $FreeBSD: src/sys/i386/isa/gpib.h,v 1.3.10.1 2000/08/03 01:01:20 peter Exp $ */
2
3#ifndef _I386_ISA_GPIB_H_
4#define _I386_ISA_GPIB_H_
5
6#include <sys/ioccom.h>
7
8/* gpib data structures */
9struct gpibdata {
10 char *data; /* data string for ins and outs */
11 unsigned char address; /* gpib address */
12 int *count;
13 } ;
14
15/* IOCTL commands */
16#define GPIBWRITE _IOW('g',1,struct gpibdata)
17#define GPIBREAD _IOW('g',2,struct gpibdata)
18#define GPIBINIT _IOW('g',3,struct gpibdata)
19#define GPIBTRIGGER _IOW('g',4,struct gpibdata)
20#define GPIBREMOTE _IOW('g',5,struct gpibdata)
21#define GPIBLOCAL _IOW('g',6,struct gpibdata)
22#define GPIBMTRIGGER _IOW('g',7,struct gpibdata)
23#define GPIBMREMOTE _IOW('g',8,struct gpibdata)
24#define GPIBMLOCAL _IOW('g',9,struct gpibdata)
25#define GPIBSPOLL _IOW('g',10,struct gpibdata)
26
27#endif /* !_I386_ISA_GPIB_H_ */