[hatari-devel] MODE SENSE patch

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

The attached patch improves MODE SENSE a bit, by at least returning one
page instead of none when all are requested.

Best regards

Uwe


PS: I would appreciate feedback on the REPORT LUNS patch I posted about 2
weeks ago.
diff --git a/src/hdc.c b/src/hdc.c
index e6f3488c..24e4f256 100644
--- a/src/hdc.c
+++ b/src/hdc.c
@@ -390,6 +390,7 @@ static void HDC_Cmd_ModeSense(SCSI_CTRLR *ctr)
 		break;
 
 	 case 0x04:
+	 case 0x3f:
 		HDC_CmdModeSense0x04(dev, ctr);
 		break;
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/