]> 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, 9 Jan 2025 12:24:57 +0000 (13:24 +0100)
commitc1d93e7100e5b9e1bb24d71196a4eaabe65b1198
tree858b197ecdb38f404a07857b07d6fcb631c50ec5
parent7911ca06b674503cd084420dc7e4b184596ec861
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