Deleted Added
full compact
efx_impl.h (293887) efx_impl.h (293888)
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 293887 2016-01-14 08:59:38Z arybchik $
30 * $FreeBSD: head/sys/dev/sfxge/common/efx_impl.h 293888 2016-01-14 09:00:35Z 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"

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

452 __in falconsiena_filter_tbl_id_t tbl);
453
454#endif /* EFSYS_OPT_FILTER */
455
456#if EFSYS_OPT_MCDI
457
458typedef struct efx_mcdi_ops_s {
459 efx_rc_t (*emco_init)(efx_nic_t *, const efx_mcdi_transport_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"

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

452 __in falconsiena_filter_tbl_id_t tbl);
453
454#endif /* EFSYS_OPT_FILTER */
455
456#if EFSYS_OPT_MCDI
457
458typedef struct efx_mcdi_ops_s {
459 efx_rc_t (*emco_init)(efx_nic_t *, const efx_mcdi_transport_t *);
460 void (*emco_request_copyin)(efx_nic_t *, efx_mcdi_req_t *,
461 unsigned int, boolean_t, boolean_t);
460 void (*emco_send_request)(efx_nic_t *, void *, size_t,
461 void *, size_t);
462 void (*emco_request_copyout)(efx_nic_t *, efx_mcdi_req_t *);
463 efx_rc_t (*emco_poll_reboot)(efx_nic_t *);
464 boolean_t (*emco_poll_response)(efx_nic_t *);
465 void (*emco_read_response)(efx_nic_t *, void *, size_t, size_t);
466 void (*emco_fini)(efx_nic_t *);
467 efx_rc_t (*emco_feature_supported)(efx_nic_t *, efx_mcdi_feature_id_t, boolean_t *);
468} efx_mcdi_ops_t;
469

--- 714 unchanged lines hidden ---
462 void (*emco_request_copyout)(efx_nic_t *, efx_mcdi_req_t *);
463 efx_rc_t (*emco_poll_reboot)(efx_nic_t *);
464 boolean_t (*emco_poll_response)(efx_nic_t *);
465 void (*emco_read_response)(efx_nic_t *, void *, size_t, size_t);
466 void (*emco_fini)(efx_nic_t *);
467 efx_rc_t (*emco_feature_supported)(efx_nic_t *, efx_mcdi_feature_id_t, boolean_t *);
468} efx_mcdi_ops_t;
469

--- 714 unchanged lines hidden ---