Lines Matching defs:config

204 	mptsas_config_request_t	*config = pkt->pkt_ha_private;
213 * config page memory.
224 ddi_put8(mpt->m_acc_req_frame_hdl, &request->Action, config->action);
228 if (config->action == MPI2_CONFIG_ACTION_PAGE_HEADER) {
229 if (config->page_type > MPI2_CONFIG_PAGETYPE_MASK) {
234 &request->ExtPageType, config->page_type);
237 &request->Header.PageType, config->page_type);
241 config->ext_page_type);
243 config->ext_page_length);
245 config->page_type);
247 config->page_length);
249 &request->Header.PageVersion, config->page_version);
250 if ((config->page_type & MPI2_CONFIG_PAGETYPE_MASK) ==
252 length = config->ext_page_length * 4;
254 length = config->page_length * 4;
257 if (config->action == MPI2_CONFIG_ACTION_PAGE_WRITE_NVRAM) {
266 config->page_number);
268 config->page_address);
303 mptsas_config_request_t config;
320 mptsas_log(mpt, CE_NOTE, "command pool is full for config "
329 bzero((caddr_t)&config, sizeof (config));
333 * config header request.
335 config.action = MPI2_CONFIG_ACTION_PAGE_HEADER;
336 config.page_type = page_type;
337 config.page_number = page_number;
338 config.page_address = page_address;
343 pkt->pkt_ha_private = (opaque_t)&config;
350 * Save the config header request message in a slot.
361 * the RAID info page request, poll because these config page requests
380 mptsas_log(mpt, CE_WARN, "config header request timeout");
395 config.page_type = ddi_get8(mpt->m_acc_reply_frame_hdl,
397 config.page_number = ddi_get8(mpt->m_acc_reply_frame_hdl,
399 config.page_length = ddi_get8(mpt->m_acc_reply_frame_hdl,
401 config.page_version = ddi_get8(mpt->m_acc_reply_frame_hdl,
403 config.ext_page_type = ddi_get8(mpt->m_acc_reply_frame_hdl,
405 config.ext_page_length = ddi_get16(mpt->m_acc_reply_frame_hdl,
421 if ((config.page_type & MPI2_CONFIG_PAGETYPE_MASK) ==
423 len = (config.ext_page_length * 4);
425 len = (config.page_length * 4);
430 mptsas_log(mpt, CE_WARN, "ioc reset abort config header "
481 * config page read
483 config.action = action;
484 config.page_address = page_address;
491 pkt->pkt_ha_private = (opaque_t)&config;
497 * Send the config page request. cmd is re-used from header request.
503 * the RAID info page request, poll because these config page requests
522 mptsas_log(mpt, CE_WARN, "config page request timeout");
529 * frame and the config page are returned from this function in the
563 mptsas_log(mpt, CE_WARN, "config fma error");
568 mptsas_log(mpt, CE_WARN, "ioc reset abort config request");
618 pMpi2ConfigRequest_t config;
622 config = (pMpi2ConfigRequest_t)mpt->m_hshk_memp;
623 ddi_put8(mpt->m_hshk_acc_hdl, &config->Function, MPI2_FUNCTION_CONFIG);
624 ddi_put8(mpt->m_hshk_acc_hdl, &config->Action, action);
625 ddi_put8(mpt->m_hshk_acc_hdl, &config->Header.PageNumber, pagenumber);
626 ddi_put8(mpt->m_hshk_acc_hdl, &config->Header.PageType, pagetype);
627 ddi_put32(mpt->m_hshk_acc_hdl, &config->PageAddress, pageaddress);
628 ddi_put8(mpt->m_hshk_acc_hdl, &config->Header.PageVersion, pageversion);
629 ddi_put8(mpt->m_hshk_acc_hdl, &config->Header.PageLength, pagelength);
631 &config->PageBufferSGE.MpiSimple.FlagsLength, SGEflagslength);
633 &config->PageBufferSGE.MpiSimple.u.Address64.Low, SGEaddress);
635 &config->PageBufferSGE.MpiSimple.u.Address64.High,
642 if (mptsas_send_handshake_msg(mpt, (caddr_t)config, send_numbytes,
655 pMpi2ConfigRequest_t config;
659 config = (pMpi2ConfigRequest_t)mpt->m_hshk_memp;
660 ddi_put8(mpt->m_hshk_acc_hdl, &config->Function, MPI2_FUNCTION_CONFIG);
661 ddi_put8(mpt->m_hshk_acc_hdl, &config->Action, action);
662 ddi_put8(mpt->m_hshk_acc_hdl, &config->Header.PageNumber, pagenumber);
663 ddi_put8(mpt->m_hshk_acc_hdl, &config->Header.PageType,
665 ddi_put8(mpt->m_hshk_acc_hdl, &config->ExtPageType, extpagetype);
666 ddi_put32(mpt->m_hshk_acc_hdl, &config->PageAddress, pageaddress);
667 ddi_put8(mpt->m_hshk_acc_hdl, &config->Header.PageVersion, pageversion);
668 ddi_put16(mpt->m_hshk_acc_hdl, &config->ExtPageLength, extpagelength);
670 &config->PageBufferSGE.MpiSimple.FlagsLength, SGEflagslength);
672 &config->PageBufferSGE.MpiSimple.u.Address64.Low, SGEaddress);
674 &config->PageBufferSGE.MpiSimple.u.Address64.High,
681 if (mptsas_send_handshake_msg(mpt, (caddr_t)config, send_numbytes,
1518 * Get the header and config page. reply contains the reply frame,
1553 "config: IOCStatus=0x%x, IOCLogInfo=0x%x",
1607 * Get the header and config page. reply contains the reply frame,
1636 "config: IOCStatus=0x%x, IOCLogInfo=0x%x",
1668 * Get the header and config page. reply contains the reply frame,
1695 "config: IOCStatus=0x%x, IOCLogInfo=0x%x",
1764 "config: IOCStatus=0x%x, IOCLogInfo=0x%x",
1839 "verify IO unit config, then "
1907 * Get the header and config page. reply contains the reply frame,
1963 * that describes mpt's config reply page request structure.
2089 "config failed for action %d, iocstatus = 0x%x",
2135 "verify IO unit config, then NO.%d"
2160 "verify IO unit config, then after"
2270 * that describes the MPT's config reply page request structure.
2290 * get config reply message
2307 * that describes the MPT's config page structure.
2328 * Give reply address to IOC to store config page in and send
2329 * config request out.
2359 mptsas_log(mpt, CE_WARN, "mptsas_get_manufacture_page5 config: "
2444 "config: IOCStatus=0x%x, IOCLogInfo=0x%x",
2511 * Get the header and config page. reply contains the reply frame,
2546 "config: IOCStatus=0x%x, IOCLogInfo=0x%x",
2599 * Get the header and config page. reply contains the reply frame,
2648 * that describes the MPT's config reply page request structure.
2668 * get config reply message
2685 * that describes the MPT's config page structure.
2704 * Give reply address to IOC to store config page in and send
2705 * config request out.
2735 mptsas_log(mpt, CE_WARN, "mptsas_get_manufacture_page0 config: "