From c6adbde25c29a68dc0574686b53b13b4dbf56207 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Sun, 6 Mar 2022 12:53:38 +0100 Subject: [PATCH] Comment update --- src/raspberrypi/controllers/sasidev_ctrl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/raspberrypi/controllers/sasidev_ctrl.cpp b/src/raspberrypi/controllers/sasidev_ctrl.cpp index 2676c19d..652ae0fe 100644 --- a/src/raspberrypi/controllers/sasidev_ctrl.cpp +++ b/src/raspberrypi/controllers/sasidev_ctrl.cpp @@ -1082,6 +1082,7 @@ void SASIDEV::FlushUnit() int SASIDEV::GetEffectiveLun() const { - return (ctrl.cmd[1] >> 5) & 0x07; + // RaSCSI only supports a single SASI LUN + return (ctrl.cmd[1] >> 5) & 0x01; }