1/*- 2 * Copyright (c) 2007-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, --- 13 unchanged lines hidden (view full) --- 22 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 23 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 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 * $FreeBSD: head/sys/dev/sfxge/common/efx_impl.h 291985 2015-12-08 06:25:52Z arybchik $ |
31 */ 32 33#ifndef _SYS_EFX_IMPL_H 34#define _SYS_EFX_IMPL_H 35 36#include "efsys.h" 37#include "efx.h" 38#include "efx_regs.h" --- 419 unchanged lines hidden (view full) --- 458 unsigned int, boolean_t, boolean_t); 459 boolean_t (*emco_request_poll)(efx_nic_t *); 460 void (*emco_request_copyout)(efx_nic_t *, efx_mcdi_req_t *); 461 efx_rc_t (*emco_poll_reboot)(efx_nic_t *); 462 void (*emco_fini)(efx_nic_t *); 463 efx_rc_t (*emco_fw_update_supported)(efx_nic_t *, boolean_t *); 464 efx_rc_t (*emco_macaddr_change_supported)(efx_nic_t *, boolean_t *); 465 efx_rc_t (*emco_link_control_supported)(efx_nic_t *, boolean_t *); |
466 void (*emco_read_response)(efx_nic_t *, void *, size_t, size_t); |
467} efx_mcdi_ops_t; 468 469typedef struct efx_mcdi_s { 470 efx_mcdi_ops_t *em_emcop; 471 const efx_mcdi_transport_t *em_emtp; 472 efx_mcdi_iface_t em_emip; 473} efx_mcdi_t; 474 --- 699 unchanged lines hidden --- |