]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: qla1280: Fix hw revision numbering for ISP1020/1040
authorMagnus Lindholm <linmag7@gmail.com>
Wed, 13 Nov 2024 22:51:49 +0000 (23:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Jan 2025 09:34:16 +0000 (10:34 +0100)
commit65289f50c18db50848407b38f16119f57f8950d2
tree0844770e988aa51fd38e780a023acea05b7727c5
parent56216257d4292a49e0cc5e368d8e0e4a79269be4
scsi: qla1280: Fix hw revision numbering for ISP1020/1040

[ Upstream commit c064de86d2a3909222d5996c5047f64c7a8f791b ]

Fix the hardware revision numbering for Qlogic ISP1020/1040 boards.  HWMASK
suggests that the revision number only needs four bits, this is consistent
with how NetBSD does things in their ISP driver. Verified on a IPS1040B
which is seen as rev 5 not as BIT_4.

Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Link: https://lore.kernel.org/r/20241113225636.2276-1-linmag7@gmail.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/qla1280.h