Deleted Added
full compact
ef10_impl.h (299721) ef10_impl.h (299904)
1/*-
2 * Copyright (c) 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) 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/ef10_impl.h 299721 2016-05-14 06:03:18Z arybchik $
30 * $FreeBSD: head/sys/dev/sfxge/common/ef10_impl.h 299904 2016-05-16 06:38:51Z arybchik $
31 */
32
33#ifndef _SYS_EF10_IMPL_H
34#define _SYS_EF10_IMPL_H
35
36#ifdef __cplusplus
37extern "C" {
38#endif

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

1030extern __checkReturn efx_rc_t
1031efx_mcdi_get_port_assignment(
1032 __in efx_nic_t *enp,
1033 __out uint32_t *portp);
1034
1035extern __checkReturn efx_rc_t
1036efx_mcdi_get_port_modes(
1037 __in efx_nic_t *enp,
31 */
32
33#ifndef _SYS_EF10_IMPL_H
34#define _SYS_EF10_IMPL_H
35
36#ifdef __cplusplus
37extern "C" {
38#endif

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

1030extern __checkReturn efx_rc_t
1031efx_mcdi_get_port_assignment(
1032 __in efx_nic_t *enp,
1033 __out uint32_t *portp);
1034
1035extern __checkReturn efx_rc_t
1036efx_mcdi_get_port_modes(
1037 __in efx_nic_t *enp,
1038 __out uint32_t *modesp);
1038 __out uint32_t *modesp,
1039 __out_opt uint32_t *current_modep);
1039
1040extern __checkReturn efx_rc_t
1040
1041extern __checkReturn efx_rc_t
1042ef10_nic_get_port_mode_bandwidth(
1043 __in uint32_t port_mode,
1044 __out uint32_t *bandwidth_mbpsp);
1045
1046extern __checkReturn efx_rc_t
1041efx_mcdi_get_mac_address_pf(
1042 __in efx_nic_t *enp,
1043 __out_ecount_opt(6) uint8_t mac_addrp[6]);
1044
1045extern __checkReturn efx_rc_t
1046efx_mcdi_get_mac_address_vf(
1047 __in efx_nic_t *enp,
1048 __out_ecount_opt(6) uint8_t mac_addrp[6]);

--- 34 unchanged lines hidden ---
1047efx_mcdi_get_mac_address_pf(
1048 __in efx_nic_t *enp,
1049 __out_ecount_opt(6) uint8_t mac_addrp[6]);
1050
1051extern __checkReturn efx_rc_t
1052efx_mcdi_get_mac_address_vf(
1053 __in efx_nic_t *enp,
1054 __out_ecount_opt(6) uint8_t mac_addrp[6]);

--- 34 unchanged lines hidden ---