diff options
Diffstat (limited to 'drivers/message/fusion/mptbase.c')
-rw-r--r-- | drivers/message/fusion/mptbase.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index d890b2b8a93e..2806662a9cf9 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c | |||
@@ -4598,6 +4598,14 @@ mpt_GetScsiPortSettings(MPT_ADAPTER *ioc, int portnum) | |||
4598 | SCSIPortPage2_t *pPP2 = (SCSIPortPage2_t *) pbuf; | 4598 | SCSIPortPage2_t *pPP2 = (SCSIPortPage2_t *) pbuf; |
4599 | MpiDeviceInfo_t *pdevice = NULL; | 4599 | MpiDeviceInfo_t *pdevice = NULL; |
4600 | 4600 | ||
4601 | /* | ||
4602 | * Save "Set to Avoid SCSI Bus Resets" flag | ||
4603 | */ | ||
4604 | ioc->spi_data.bus_reset = | ||
4605 | (le32_to_cpu(pPP2->PortFlags) & | ||
4606 | MPI_SCSIPORTPAGE2_PORT_FLAGS_AVOID_SCSI_RESET) ? | ||
4607 | 0 : 1 ; | ||
4608 | |||
4601 | /* Save the Port Page 2 data | 4609 | /* Save the Port Page 2 data |
4602 | * (reformat into a 32bit quantity) | 4610 | * (reformat into a 32bit quantity) |
4603 | */ | 4611 | */ |