use std::ffi::c_ushort;
use bitflags::bitflags;
bitflags! {
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct DriverStatus: c_ushort {
const OK = 0x00;
const BUSY = 0x01;
const SOFT = 0x02;
const MEDIA = 0x03;
const ERROR = 0x04;
const INVALID = 0x05;
const TIMEOUT = 0x06;
const HARD = 0x07;
const SENSE = 0x08;
const RETRY = 0x10;
const ABORT = 0x20;
const REMAP = 0x30;
const DIE = 0x40;
const SUGGEST_SENSE = 0x80;
}
}