Deleted Added
full compact
efx_impl.h (292008) efx_impl.h (292055)
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 *
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 292008 2015-12-09 06:24:22Z arybchik $
30 * $FreeBSD: head/sys/dev/sfxge/common/efx_impl.h 292055 2015-12-10 07:42:56Z 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"

--- 416 unchanged lines hidden (view full) ---

455typedef struct efx_mcdi_ops_s {
456 efx_rc_t (*emco_init)(efx_nic_t *, const efx_mcdi_transport_t *);
457 void (*emco_request_copyin)(efx_nic_t *, efx_mcdi_req_t *,
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 *);
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"

--- 416 unchanged lines hidden (view full) ---

455typedef struct efx_mcdi_ops_s {
456 efx_rc_t (*emco_init)(efx_nic_t *, const efx_mcdi_transport_t *);
457 void (*emco_request_copyin)(efx_nic_t *, efx_mcdi_req_t *,
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 efx_rc_t (*emco_mac_spoofing_supported)(efx_nic_t *, boolean_t *);
463 efx_rc_t (*emco_feature_supported)(efx_nic_t *, efx_mcdi_feature_id_t, boolean_t *);
467 void (*emco_read_response)(efx_nic_t *, void *, size_t, size_t);
468} efx_mcdi_ops_t;
469
470typedef struct efx_mcdi_s {
471 efx_mcdi_ops_t *em_emcop;
472 const efx_mcdi_transport_t *em_emtp;
473 efx_mcdi_iface_t em_emip;
474} efx_mcdi_t;

--- 700 unchanged lines hidden ---
464 void (*emco_read_response)(efx_nic_t *, void *, size_t, size_t);
465} efx_mcdi_ops_t;
466
467typedef struct efx_mcdi_s {
468 efx_mcdi_ops_t *em_emcop;
469 const efx_mcdi_transport_t *em_emtp;
470 efx_mcdi_iface_t em_emip;
471} efx_mcdi_t;

--- 700 unchanged lines hidden ---