Print this page
First pass at 4310

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/scsi/adapters/mpt_sas/mptsas_var.h
          +++ new/usr/src/uts/common/sys/scsi/adapters/mpt_sas/mptsas_var.h
↓ open down ↓ 891 lines elided ↑ open up ↑
 892  892          /* FMA Capabilities */
 893  893          int                     m_fm_capabilities;
 894  894          ddi_taskq_t             *m_dr_taskq;
 895  895          int                     m_mpxio_enable;
 896  896          uint8_t                 m_done_traverse_dev;
 897  897          uint8_t                 m_done_traverse_smp;
 898  898          int                     m_diag_action_in_progress;
 899  899          uint16_t                m_dev_handle;
 900  900          uint16_t                m_smp_devhdl;
 901  901  
      902 +        /* In case of reset */
      903 +        ddi_taskq_t             *m_reset_taskq;
      904 +
 902  905          /*
 903  906           * Event recording
 904  907           */
 905  908          uint8_t                 m_event_index;
 906  909          uint32_t                m_event_number;
 907  910          uint32_t                m_event_mask[4];
 908  911          mptsas_event_entry_t    m_events[MPTSAS_EVENT_QUEUE_SIZE];
 909  912  
 910  913          /*
 911  914           * FW diag Buffer List
↓ open down ↓ 408 lines elided ↑ open up ↑
1320 1323  int mptsas_access_config_page(mptsas_t *mpt, uint8_t action, uint8_t page_type,
1321 1324      uint8_t page_number, uint32_t page_address, int (*callback) (mptsas_t *,
1322 1325      caddr_t, ddi_acc_handle_t, uint16_t, uint32_t, va_list), ...);
1323 1326  
1324 1327  int mptsas_ioc_task_management(mptsas_t *mpt, int task_type,
1325 1328      uint16_t dev_handle, int lun, uint8_t *reply, uint32_t reply_size,
1326 1329      int mode);
1327 1330  int mptsas_send_event_ack(mptsas_t *mpt, uint32_t event, uint32_t eventcntx);
1328 1331  void mptsas_send_pending_event_ack(mptsas_t *mpt);
1329 1332  void mptsas_set_throttle(struct mptsas *mpt, mptsas_target_t *ptgt, int what);
     1333 +void mptsas_handle_restart_ioc(void *mpt);
1330 1334  int mptsas_restart_ioc(mptsas_t *mpt);
1331 1335  void mptsas_update_driver_data(struct mptsas *mpt);
1332 1336  uint64_t mptsas_get_sata_guid(mptsas_t *mpt, mptsas_target_t *ptgt, int lun);
1333 1337  
1334 1338  /*
1335 1339   * init functions
1336 1340   */
1337 1341  int mptsas_ioc_get_facts(mptsas_t *mpt);
1338 1342  int mptsas_ioc_get_port_facts(mptsas_t *mpt, int port);
1339 1343  int mptsas_ioc_enable_port(mptsas_t *mpt);
↓ open down ↓ 127 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX