mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-22 15:30:09 +00:00
Renaming
This commit is contained in:
parent
2edac296a6
commit
d46013934a
@ -421,7 +421,7 @@ void Disk::ModeSelect10(SASIDEV *controller)
|
||||
|
||||
void Disk::ModeSense6(SASIDEV *controller)
|
||||
{
|
||||
ctrl->length = ModeSense(ctrl->cmd, ctrl->buffer);
|
||||
ctrl->length = ModeSense6(ctrl->cmd, ctrl->buffer);
|
||||
ASSERT(ctrl->length >= 0);
|
||||
if (ctrl->length == 0) {
|
||||
LOGWARN("%s Not supported MODE SENSE page $%02X",__PRETTY_FUNCTION__, (unsigned int)ctrl->cmd[2]);
|
||||
@ -688,10 +688,10 @@ bool Disk::ModeSelect(const DWORD* /*cdb*/, const BYTE *buf, int length)
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// MODE SENSE
|
||||
// MODE SENSE(6)
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
int Disk::ModeSense(const DWORD *cdb, BYTE *buf)
|
||||
int Disk::ModeSense6(const DWORD *cdb, BYTE *buf)
|
||||
{
|
||||
ASSERT(cdb);
|
||||
ASSERT(buf);
|
||||
|
@ -125,7 +125,6 @@ public:
|
||||
bool Removal(const DWORD *cdb); // PREVENT/ALLOW MEDIUM REMOVAL command
|
||||
|
||||
virtual int Read(const DWORD *cdb, BYTE *buf, uint64_t block);
|
||||
virtual int ModeSense10(const DWORD *cdb, BYTE *buf); // MODE SENSE(10) command
|
||||
int ReadDefectData10(const DWORD *cdb, BYTE *buf); // READ DEFECT DATA(10) command
|
||||
int SelectCheck(const DWORD *cdb); // SELECT check
|
||||
int SelectCheck10(const DWORD *cdb); // SELECT(10) check
|
||||
@ -169,6 +168,7 @@ private:
|
||||
void Read(SASIDEV *, uint64_t);
|
||||
void Write(SASIDEV *, uint64_t);
|
||||
void Verify(SASIDEV *, uint64_t);
|
||||
bool Format(const DWORD *cdb); // FORMAT UNIT command
|
||||
int ModeSense(const DWORD *cdb, BYTE *buf); // MODE SENSE command
|
||||
bool Format(const DWORD *cdb);
|
||||
int ModeSense6(const DWORD *cdb, BYTE *buf);
|
||||
int ModeSense10(const DWORD *cdb, BYTE *buf);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user