lpfc_bsg.c (ab11b487402f97975f3ac1eeea09c82f4431481e) | lpfc_bsg.c (bc73905abf7701920fe687564ecd3c6b316b9a2e) |
---|---|
1/******************************************************************* 2 * This file is part of the Emulex Linux Device Driver for * 3 * Fibre Channel Host Bus Adapters. * 4 * Copyright (C) 2009-2010 Emulex. All rights reserved. * 5 * EMULEX and SLI are trademarks of Emulex. * 6 * www.emulex.com * 7 * * 8 * This program is free software; you can redistribute it and/or * --- 2710 unchanged lines hidden (view full) --- 2719 from = (uint8_t *)mb; 2720 from += sizeof(MAILBOX_t); 2721 memcpy((uint8_t *)ext, from, 2722 mbox_req->inExtWLen * sizeof(uint32_t)); 2723 } 2724 2725 pmboxq->context2 = ext; 2726 pmboxq->in_ext_byte_len = | 1/******************************************************************* 2 * This file is part of the Emulex Linux Device Driver for * 3 * Fibre Channel Host Bus Adapters. * 4 * Copyright (C) 2009-2010 Emulex. All rights reserved. * 5 * EMULEX and SLI are trademarks of Emulex. * 6 * www.emulex.com * 7 * * 8 * This program is free software; you can redistribute it and/or * --- 2710 unchanged lines hidden (view full) --- 2719 from = (uint8_t *)mb; 2720 from += sizeof(MAILBOX_t); 2721 memcpy((uint8_t *)ext, from, 2722 mbox_req->inExtWLen * sizeof(uint32_t)); 2723 } 2724 2725 pmboxq->context2 = ext; 2726 pmboxq->in_ext_byte_len = |
2727 mbox_req->inExtWLen * 2728 sizeof(uint32_t); 2729 pmboxq->out_ext_byte_len = 2730 mbox_req->outExtWLen * 2731 sizeof(uint32_t); 2732 pmboxq->mbox_offset_word = 2733 mbox_req->mbOffset; 2734 pmboxq->context2 = ext; 2735 pmboxq->in_ext_byte_len = | |
2736 mbox_req->inExtWLen * sizeof(uint32_t); 2737 pmboxq->out_ext_byte_len = 2738 mbox_req->outExtWLen * sizeof(uint32_t); 2739 pmboxq->mbox_offset_word = mbox_req->mbOffset; 2740 } 2741 2742 /* biu diag will need a kernel buffer to transfer the data 2743 * allocate our own buffer and setup the mailbox command to --- 758 unchanged lines hidden --- | 2727 mbox_req->inExtWLen * sizeof(uint32_t); 2728 pmboxq->out_ext_byte_len = 2729 mbox_req->outExtWLen * sizeof(uint32_t); 2730 pmboxq->mbox_offset_word = mbox_req->mbOffset; 2731 } 2732 2733 /* biu diag will need a kernel buffer to transfer the data 2734 * allocate our own buffer and setup the mailbox command to --- 758 unchanged lines hidden --- |