efx_mcdi.c (293937) | efx_mcdi.c (293939) |
---|---|
1/*- 2 * Copyright (c) 2008-2015 Solarflare Communications Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright notice, --- 15 unchanged lines hidden (view full) --- 24 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 * The views and conclusions contained in the software and documentation are 27 * those of the authors and should not be interpreted as representing official 28 * policies, either expressed or implied, of the FreeBSD Project. 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2008-2015 Solarflare Communications Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright notice, --- 15 unchanged lines hidden (view full) --- 24 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 * The views and conclusions contained in the software and documentation are 27 * those of the authors and should not be interpreted as representing official 28 * policies, either expressed or implied, of the FreeBSD Project. 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: stable/10/sys/dev/sfxge/common/efx_mcdi.c 293937 2016-01-14 14:25:49Z arybchik $"); | 32__FBSDID("$FreeBSD: stable/10/sys/dev/sfxge/common/efx_mcdi.c 293939 2016-01-14 14:28:30Z arybchik $"); |
33 34#include "efsys.h" 35#include "efx.h" 36#include "efx_types.h" 37#include "efx_regs.h" 38#include "efx_regs_mcdi.h" 39#include "efx_impl.h" 40 --- 422 unchanged lines hidden (view full) --- 463 EFSYS_PROBE2(mcdi_err, int, emrp->emr_cmd, 464 int, errcode); 465 } 466 emrp->emr_out_length_used = 0; 467 emrp->emr_rc = efx_mcdi_request_errcode(errcode); 468 } else { 469 emrp->emr_out_length_used = outlen; 470 emrp->emr_rc = 0; | 33 34#include "efsys.h" 35#include "efx.h" 36#include "efx_types.h" 37#include "efx_regs.h" 38#include "efx_regs_mcdi.h" 39#include "efx_impl.h" 40 --- 422 unchanged lines hidden (view full) --- 463 EFSYS_PROBE2(mcdi_err, int, emrp->emr_cmd, 464 int, errcode); 465 } 466 emrp->emr_out_length_used = 0; 467 emrp->emr_rc = efx_mcdi_request_errcode(errcode); 468 } else { 469 emrp->emr_out_length_used = outlen; 470 emrp->emr_rc = 0; |
471 472 emcop->emco_request_copyout(enp, emrp); | |
473 } | 471 } |
472 emcop->emco_request_copyout(enp, emrp); |
|
474 475 emtp->emt_ev_cpl(emtp->emt_context); 476} 477 478 void 479efx_mcdi_ev_death( 480 __in efx_nic_t *enp, 481 __in int rc) --- 1207 unchanged lines hidden --- | 473 474 emtp->emt_ev_cpl(emtp->emt_context); 475} 476 477 void 478efx_mcdi_ev_death( 479 __in efx_nic_t *enp, 480 __in int rc) --- 1207 unchanged lines hidden --- |