mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-29 16:49:55 +00:00
Added EXTRA_FLAGS to Makefile and fixed typo (#118)
This commit is contained in:
parent
b7011efd95
commit
e2409098dd
@ -33,6 +33,10 @@ endif
|
||||
CFLAGS += -iquote . -MD -MP
|
||||
CXXFLAGS += -std=c++14 -iquote . -MD -MP
|
||||
|
||||
## EXTRA_FLAGS : Can be used to pass special purpose flags
|
||||
CFLAGS += $(EXTRA_FLAGS)
|
||||
CXXFLAGS += $(EXTRA_FLAGS)
|
||||
|
||||
## CONNECT_TYPE=FULLSPEC : Specify the type of RaSCSI board type
|
||||
## that you are using. The typical options are
|
||||
## STANDARD or FULLSPEC. The default is FULLSPEC
|
||||
|
@ -1742,7 +1742,7 @@ BOOL FASTCALL SASIDEV::XferOut(BOOL cont)
|
||||
|
||||
// Special case Write function for DaynaPort
|
||||
if (ctrl.unit[lun]->GetID() == MAKEID('S', 'C', 'D', 'P')) {
|
||||
LOGTRACE("%s Doing special case write for DayanPort", __PRETTY_FUNCTION__);
|
||||
LOGTRACE("%s Doing special case write for DaynaPort", __PRETTY_FUNCTION__);
|
||||
if (!(SCSIDaynaPort*)ctrl.unit[lun]->Write(ctrl.cmd, ctrl.buffer, ctrl.length)) {
|
||||
// write failed
|
||||
return FALSE;
|
||||
|
@ -137,7 +137,7 @@ int FASTCALL SCSIDaynaPort::Inquiry(
|
||||
// LOGWARN(":::::::::: Doing runtime pointer conversion: %04X", ((scsi_cdb_6_byte_t*)cdb)->length);
|
||||
// }
|
||||
|
||||
LOGTRACE("%s Inquiry with major %ld, minor %ld. Allocaiton length: %d",__PRETTY_FUNCTION__, major, minor, (int)allocation_length);
|
||||
LOGTRACE("%s Inquiry with major %ld, minor %ld. Allocation length: %d",__PRETTY_FUNCTION__, major, minor, (int)allocation_length);
|
||||
|
||||
if(cdb[1] & 0x3) {
|
||||
LOGWARN("Tiny SCSI Emulator says this is an invalid request");
|
||||
|
Loading…
Reference in New Issue
Block a user