1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Shuffle some definitions so that this can be included from userland.

This commit is contained in:
Scott Long 2006-01-03 23:03:39 +00:00
parent df67b5c133
commit 8a436e7554
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154006

View File

@ -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