mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-03-12 09:29:47 +00:00
scsidevice: Add LUN field.
This may make it possible for multiple LUNs to be added to the same target ID. For now just use LUN #0.
This commit is contained in:
parent
8f28823217
commit
ad8a26616f
@ -168,6 +168,7 @@ public:
|
||||
this->set_name(name);
|
||||
supports_types(HWCompType::SCSI_DEV);
|
||||
this->scsi_id = my_id;
|
||||
this->lun = 0,
|
||||
this->cur_phase = ScsiPhase::BUS_FREE;
|
||||
};
|
||||
~ScsiDevice() = default;
|
||||
@ -194,6 +195,7 @@ protected:
|
||||
uint8_t cmd_buf[16] = {};
|
||||
uint8_t msg_buf[16] = {}; // TODO: clarify how big this one should be
|
||||
int scsi_id;
|
||||
int lun;
|
||||
int initiator_id;
|
||||
int cur_phase;
|
||||
uint8_t* data_ptr = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user