arc: remove SA6400 from list if SCSI controller are found

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-06-12 17:34:45 +02:00
parent 8f32bb70df
commit f086ec46ab

View File

@ -212,6 +212,9 @@ function arcModel() {
if [ ${SATACONTROLLER} -eq 0 ] && [ "${EXTERNALCONTROLLER}" == "false" ] && [ "${A}" != "epyc7002" ]; then
COMPATIBLE=0
fi
if [ ${SCSICONTROLLER} -gt 0 ] && [ "${A}" = "epyc7002" ]; then
COMPATIBLE=0
fi
[ -z "$(grep -w "${M}" "${S_FILE}")" ] && COMPATIBLE=0
else
[ -z "$(grep -w "${M}" "${S_FILE}")" ] && BETA="x" || BETA=""