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