]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/dev/ida/idaio.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / dev / ida / idaio.h
1 /*
2  * $FreeBSD$
3  */
4
5 #include <sys/ioccom.h>
6
7 struct ida_user_command {
8         int             command;
9         int             drive;
10         u_int32_t       blkno;
11         union {
12                 struct ida_drive_info           di;
13                 struct ida_drive_info_ext       die;
14                 struct ida_controller_info      ci;
15                 struct ida_drive_status         ds;
16                 struct ida_phys_drv_info        pdi;
17                 struct ida_blink_drv_leds       bdl;
18                 struct ida_label_logical        ll;
19                 u_int8_t buf;
20         } d;
21 };
22
23 #define IDAIO_COMMAND   _IOWR('I', 100, struct ida_user_command)