Skip to content

Commit 408445e

Browse files
Merge patch series "mpt3sas: Few Enhancements and minor fixes"
Ranjan Kumar <[email protected]> says: Few Enhancements and minor fixes of mpt3sas driver. Signed-off-by: Martin K. Petersen <[email protected]>
2 parents 3bd70ae + 7e5a438 commit 408445e

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

drivers/scsi/mpt3sas/mpt3sas_base.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,13 @@ _base_display_reply_info(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
14201420

14211421
if (ioc_status & MPI2_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE) {
14221422
loginfo = le32_to_cpu(mpi_reply->IOCLogInfo);
1423-
_base_sas_log_info(ioc, loginfo);
1423+
if (ioc->logging_level & MPT_DEBUG_REPLY)
1424+
_base_sas_log_info(ioc, loginfo);
1425+
else {
1426+
if (!((ioc_status & MPI2_IOCSTATUS_MASK) &
1427+
MPI2_IOCSTATUS_CONFIG_INVALID_PAGE))
1428+
_base_sas_log_info(ioc, loginfo);
1429+
}
14241430
}
14251431

14261432
if (ioc_status || loginfo) {

drivers/scsi/mpt3sas/mpt3sas_base.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
#define MPT3SAS_DRIVER_NAME "mpt3sas"
7878
#define MPT3SAS_AUTHOR "Avago Technologies <[email protected]>"
7979
#define MPT3SAS_DESCRIPTION "LSI MPT Fusion SAS 3.0 Device Driver"
80-
#define MPT3SAS_DRIVER_VERSION "52.100.00.00"
81-
#define MPT3SAS_MAJOR_VERSION 52
80+
#define MPT3SAS_DRIVER_VERSION "54.100.00.00"
81+
#define MPT3SAS_MAJOR_VERSION 54
8282
#define MPT3SAS_MINOR_VERSION 100
8383
#define MPT3SAS_BUILD_VERSION 00
8484
#define MPT3SAS_RELEASE_VERSION 00

drivers/scsi/mpt3sas/mpt3sas_transport.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ _transport_convert_phy_link_rate(u8 link_rate)
166166
case MPI25_SAS_NEG_LINK_RATE_12_0:
167167
rc = SAS_LINK_RATE_12_0_GBPS;
168168
break;
169+
case MPI26_SAS_NEG_LINK_RATE_22_5:
170+
rc = SAS_LINK_RATE_22_5_GBPS;
171+
break;
169172
case MPI2_SAS_NEG_LINK_RATE_PHY_DISABLED:
170173
rc = SAS_PHY_DISABLED;
171174
break;
@@ -987,11 +990,9 @@ mpt3sas_transport_port_remove(struct MPT3SAS_ADAPTER *ioc, u64 sas_address,
987990
list_for_each_entry_safe(mpt3sas_phy, next_phy,
988991
&mpt3sas_port->phy_list, port_siblings) {
989992
if ((ioc->logging_level & MPT_DEBUG_TRANSPORT))
990-
dev_printk(KERN_INFO, &mpt3sas_port->port->dev,
991-
"remove: sas_addr(0x%016llx), phy(%d)\n",
992-
(unsigned long long)
993-
mpt3sas_port->remote_identify.sas_address,
994-
mpt3sas_phy->phy_id);
993+
ioc_info(ioc, "remove: sas_addr(0x%016llx), phy(%d)\n",
994+
(unsigned long long) mpt3sas_port->remote_identify.sas_address,
995+
mpt3sas_phy->phy_id);
995996
mpt3sas_phy->phy_belongs_to_port = 0;
996997
if (!ioc->remove_host)
997998
sas_port_delete_phy(mpt3sas_port->port,

0 commit comments

Comments
 (0)