Shuffle some definitions so that this can be included from userland.
This commit is contained in:
parent
3ab605dcda
commit
ec6ef2133d
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user