summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001
diff options
context:
space:
mode:
authorViswas G <Viswas.G@microsemi.com>2017-10-18 08:09:15 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-10-19 02:55:45 +0200
commit790a385607b2d3ce4da5980c5cf988c37beb49e4 (patch)
treea13832219a93b29f51cfdd9a3b413c2ef4d6f55c /drivers/scsi/pm8001
parentscsi: pm80xx: panic on ncq error cleaning up the read log. (diff)
downloadlinux-790a385607b2d3ce4da5980c5cf988c37beb49e4.tar.xz
linux-790a385607b2d3ce4da5980c5cf988c37beb49e4.zip
scsi: pm80xx: corrected linkrate value.
Corrected the value defined for LINKRATE_60 (6 Gig). Signed-off-by: Raj Dinesh <Raj.Dinesh@microsemi.com> Signed-off-by: Viswas G <viswas.g@microsemi.com> Acked-by: Jack Wang <jinpu.wang@profitbricks.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pm8001')
-rw-r--r--drivers/scsi/pm8001/pm80xx_hwi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm80xx_hwi.h b/drivers/scsi/pm8001/pm80xx_hwi.h
index e36c5176f9a9..889e69ce3689 100644
--- a/drivers/scsi/pm8001/pm80xx_hwi.h
+++ b/drivers/scsi/pm8001/pm80xx_hwi.h
@@ -167,7 +167,7 @@
#define LINKMODE_AUTO (0x03 << 12)
#define LINKRATE_15 (0x01 << 8)
#define LINKRATE_30 (0x02 << 8)
-#define LINKRATE_60 (0x06 << 8)
+#define LINKRATE_60 (0x04 << 8)
#define LINKRATE_120 (0x08 << 8)
/* phy_profile */