]> 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:30:51 +0000 (10:30 +0100)
commit7aafb0c40088bdf20768bae0dda35377871a8253
tree8142a7e1bbd569597fd6cac5fe73c9e2d68d288c
parente53deb6f425b36622621efbe911ee4f3e8ba1bfc
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