Print this page
2777 mpt_sas needs to try MUR reset at attach() time.

*** 19,28 **** --- 19,29 ---- * 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,1769 **** */ 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); mutex_exit(&mpt->m_mutex); mptsas_rem_intrs(mpt); ddi_taskq_destroy(mpt->m_event_taskq); ddi_taskq_destroy(mpt->m_dr_taskq); --- 1760,1770 ---- */ 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, 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,12346 **** } /* * Reset the chip */ ! rval = mptsas_ioc_reset(mpt); if (rval == MPTSAS_RESET_FAIL) { mptsas_log(mpt, CE_WARN, "hard reset failed!"); goto fail; } --- 12337,12347 ---- } /* * Reset the chip */ ! rval = mptsas_ioc_reset(mpt, first_time); if (rval == MPTSAS_RESET_FAIL) { mptsas_log(mpt, CE_WARN, "hard reset failed!"); goto fail; }