diff options
author | scottl <scottl@FreeBSD.org> | 2006-01-03 23:03:39 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2006-01-03 23:03:39 +0000 |
commit | ec6ef2133d361728c3d2341e83f89ea1f4fe06c1 (patch) | |
tree | 5a522656795612af9f33830be4c350179bb93398 | |
parent | 3ab605dcda0d5524e8c70b674d24b77c2c7e3649 (diff) | |
download | FreeBSD-src-ec6ef2133d361728c3d2341e83f89ea1f4fe06c1.zip FreeBSD-src-ec6ef2133d361728c3d2341e83f89ea1f4fe06c1.tar.gz |
Shuffle some definitions so that this can be included from userland.
-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 |