use yggdrasil_abi::primitive_enum;

primitive_enum! {
    #[derive(Default)]
    pub enum ScsiDeviceType: u8 {
        DirectAccessBlock = 0x00,
        SequentialAccess = 0x01,
        Printer = 0x02,
        Processor = 0x03,
        WriteOnce = 0x04,
        CdDvd = 0x05,
        OpticalMemory = 0x07,
        MediumChanger = 0x08,
        StorageArrayController = 0x0C,
        EnclosureServices = 0x0D,
        SimplifiedDirectAccess = 0x0E,
        OpticalCard = 0x0F,
        BridgeController = 0x10,
        ObjectBasedStorage = 0x11,
        AutomationDriveInterface = 0x12,
        #[default]
        Other = 0x1F,
    }
}
