mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-15 04:30:24 +00:00
Moved CmdGetEventStatusNotification to correct class
This commit is contained in:
parent
6565639082
commit
bc0f419530
@ -91,7 +91,6 @@ SCSIDaynaPort::SCSIDaynaPort() : Disk("SCDP")
|
||||
AddCommand(SCSIDEV::eCmdSetIfaceMode, "CmdSetIfaceMode", &SCSIDaynaPort::CmdSetInterfaceMode);
|
||||
AddCommand(SCSIDEV::eCmdSetMcastAddr, "CmdSetMcastAddr", &SCSIDaynaPort::CmdSetMcastAddr);
|
||||
AddCommand(SCSIDEV::eCmdEnableInterface, "CmdEnableInterface", &SCSIDaynaPort::CmdEnableInterface);
|
||||
AddCommand(SCSIDEV::eCmdGetEventStatusNotification, "CmdGetEventStatusNotification", &SCSIDaynaPort::CmdGetEventStatusNotification);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
@ -714,12 +713,6 @@ void SCSIDaynaPort::CmdEnableInterface(SASIDEV *controller)
|
||||
controller->Status();
|
||||
}
|
||||
|
||||
void SCSIDaynaPort::CmdGetEventStatusNotification(SASIDEV *controller)
|
||||
{
|
||||
// This naive (but legal) implementation avoids constant warnings in the logs
|
||||
controller->Error(ERROR_CODES::sense_key::ILLEGAL_REQUEST, ERROR_CODES::asc::INVALID_FIELD_IN_CDB);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// Set Mode - enable broadcast messages
|
||||
|
@ -92,7 +92,6 @@ public:
|
||||
void CmdSetInterfaceMode(SASIDEV *);
|
||||
void CmdSetMcastAddr(SASIDEV *);
|
||||
void CmdEnableInterface(SASIDEV *);
|
||||
void CmdGetEventStatusNotification(SASIDEV *);
|
||||
|
||||
bool Dispatch(SCSIDEV *);
|
||||
|
||||
|
@ -249,6 +249,7 @@ SCSICD::SCSICD() : Disk("SCCD")
|
||||
AddCommand(SCSIDEV::eCmdPlayAudio10, "CmdPlayAudio10", &SCSICD::CmdPlayAudio10);
|
||||
AddCommand(SCSIDEV::eCmdPlayAudioMSF, "CmdPlayAudioMSF", &SCSICD::CmdPlayAudioMSF);
|
||||
AddCommand(SCSIDEV::eCmdPlayAudioTrack, "CmdPlayAudioTrack", &SCSICD::CmdPlayAudioTrack);
|
||||
AddCommand(SCSIDEV::eCmdGetEventStatusNotification, "CmdGetEventStatusNotification", &SCSICD::CmdGetEventStatusNotification);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
@ -792,6 +793,12 @@ int SCSICD::ReadToc(const DWORD *cdb, BYTE *buf)
|
||||
return length;
|
||||
}
|
||||
|
||||
void SCSICD::CmdGetEventStatusNotification(SASIDEV *controller)
|
||||
{
|
||||
// This naive (but legal) implementation avoids constant warnings in the logs
|
||||
controller->Error(ERROR_CODES::sense_key::ILLEGAL_REQUEST, ERROR_CODES::asc::INVALID_FIELD_IN_CDB);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// LBA→MSF Conversion
|
||||
|
@ -121,6 +121,7 @@ private:
|
||||
void CmdPlayAudio10(SASIDEV *);
|
||||
void CmdPlayAudioMSF(SASIDEV *);
|
||||
void CmdPlayAudioTrack(SASIDEV *);
|
||||
void CmdGetEventStatusNotification(SASIDEV *);
|
||||
|
||||
BOOL rawfile; // RAW flag
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user