/*
 * $FreeBSD: release/9.0.0/sys/dev/ida/idaio.h 124540 2004-01-15 06:37:52Z mdodd $
 */

#include <sys/ioccom.h>

struct ida_user_command {
	int		command;
	int		drive;
	u_int32_t	blkno;
	union {
		struct ida_drive_info		di;
		struct ida_drive_info_ext	die;
		struct ida_controller_info	ci;
		struct ida_drive_status		ds;
		struct ida_phys_drv_info	pdi;
		struct ida_blink_drv_leds	bdl;
		struct ida_label_logical	ll;
		u_int8_t buf;
	} d;
};

#define	IDAIO_COMMAND	_IOWR('I', 100, struct ida_user_command)
