Print this page
2777 mpt_sas needs to try MUR reset at attach() time.
@@ -19,10 +19,11 @@
* CDDL HEADER END
*/
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
*/
/*
* Copyright (c) 2000 to 2010, LSI Corporation.
* All rights reserved.
@@ -1759,11 +1760,11 @@
*/
mutex_enter(&mpt->m_mutex);
MPTSAS_DISABLE_INTR(mpt);
mptsas_raid_action_system_shutdown(mpt);
mpt->m_softstate |= MPTSAS_SS_MSG_UNIT_RESET;
- (void) mptsas_ioc_reset(mpt);
+ (void) mptsas_ioc_reset(mpt, FALSE);
mutex_exit(&mpt->m_mutex);
mptsas_rem_intrs(mpt);
ddi_taskq_destroy(mpt->m_event_taskq);
ddi_taskq_destroy(mpt->m_dr_taskq);
@@ -12336,11 +12337,11 @@
}
/*
* Reset the chip
*/
- rval = mptsas_ioc_reset(mpt);
+ rval = mptsas_ioc_reset(mpt, first_time);
if (rval == MPTSAS_RESET_FAIL) {
mptsas_log(mpt, CE_WARN, "hard reset failed!");
goto fail;
}