Skip to content

Commit

Permalink
Merge pull request #313 from ZuluSCSI/zuluscsi-v1.2-dev
Browse files Browse the repository at this point in the history
ZuluSCSI v1.1 ODE and ZuluSCSI v1.2 support
  • Loading branch information
aperezbios authored Oct 13, 2023
2 parents 05cb69d + 584f398 commit 45f2a9e
Show file tree
Hide file tree
Showing 23 changed files with 2,039 additions and 80 deletions.
2 changes: 1 addition & 1 deletion lib/SCSI2SD/include/scsi2sd.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ typedef enum
typedef enum
{
S2S_CFG_FIXED,
S2S_CFG_REMOVEABLE,
S2S_CFG_REMOVABLE,
S2S_CFG_OPTICAL,
S2S_CFG_FLOPPY_14MB,
S2S_CFG_MO,
Expand Down
4 changes: 2 additions & 2 deletions lib/SCSI2SD/src/firmware/inquiry.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ void s2s_scsiInquiry()
break;

case S2S_CFG_FLOPPY_14MB:
case S2S_CFG_REMOVEABLE:
case S2S_CFG_REMOVABLE:
scsiDev.data[1] |= 0x80; // Removable bit.
break;
default:
Expand Down Expand Up @@ -260,7 +260,7 @@ uint8_t getDeviceTypeQualifier()
break;

case S2S_CFG_FLOPPY_14MB:
case S2S_CFG_REMOVEABLE:
case S2S_CFG_REMOVABLE:
return 0;
break;

Expand Down
2 changes: 1 addition & 1 deletion lib/SCSI2SD/src/firmware/mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ static void doModeSense(
switch (scsiDev.target->cfg->deviceType)
{
case S2S_CFG_FIXED:
case S2S_CFG_REMOVEABLE:
case S2S_CFG_REMOVABLE:
mediumType = 0; // We should support various floppy types here!
// Contains cache bits (0) and a Write-Protect bit.
deviceSpecificParam =
Expand Down
Loading

0 comments on commit 45f2a9e

Please sign in to comment.