diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ips/ips_ioctl.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/sys/dev/ips/ips_ioctl.h b/sys/dev/ips/ips_ioctl.h index ef0691e..ea76ed5 100644 --- a/sys/dev/ips/ips_ioctl.h +++ b/sys/dev/ips/ips_ioctl.h @@ -28,6 +28,8 @@ * $FreeBSD$ */ +#ifndef _IPS_IOCTL_H +#define _IPS_IOCTL_H #include <sys/ioccom.h> @@ -42,6 +44,13 @@ #define IPS_IOCTL_BUFFER_SIZE 4096 +typedef struct ips_user_request{ + void * command_buffer; + void * data_buffer; + u_int32_t status; +}ips_user_request; + +#ifdef _KERNEL typedef struct ips_ioctl{ ips_generic_cmd * command_buffer; @@ -53,9 +62,6 @@ typedef struct ips_ioctl{ bus_dmamap_t dmamap; }ips_ioctl_t; -typedef struct ips_user_request{ - void * command_buffer; - void * data_buffer; - u_int32_t status; -}ips_user_request; +#endif +#endif |