mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-25 07:51:28 +00:00
qla2x00t-32gbit: Display 16G only as supported speeds for 3830c card
This card is unique and doesn't support lower speeds, hence update the fdmi field to display 16G only. Link: https://lore.kernel.org/r/20210908164622.19240-3-njavali@marvell.com Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Saurav Kashyap <skashyap@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> [ commit 52cca50d35f8 upstream ]
This commit is contained in:
@@ -1537,7 +1537,8 @@ qla25xx_fdmi_port_speed_capability(struct qla_hw_data *ha)
|
||||
}
|
||||
if (IS_QLA2031(ha)) {
|
||||
if ((ha->pdev->subsystem_vendor == 0x103C) &&
|
||||
(ha->pdev->subsystem_device == 0x8002)) {
|
||||
((ha->pdev->subsystem_device == 0x8002) ||
|
||||
(ha->pdev->subsystem_device == 0x8086))) {
|
||||
speeds = FDMI_PORT_SPEED_16GB;
|
||||
} else {
|
||||
speeds = FDMI_PORT_SPEED_16GB|FDMI_PORT_SPEED_8GB|
|
||||
|
||||
Reference in New Issue
Block a user