1/*- 2 * Copyright (c) 2012-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: head/sys/dev/sfxge/common/siena_mcdi.c 291588 2015-12-01 15:38:39Z arybchik $"); |
33 34#include "efsys.h" 35#include "efx.h" 36#include "efx_impl.h" 37 38#if EFSYS_OPT_SIENA && EFSYS_OPT_MCDI 39 40#define SIENA_MCDI_PDU(_emip) \ --- 305 unchanged lines hidden (view full) --- 346{ 347 EFSYS_ASSERT3U(enp->en_family, ==, EFX_FAMILY_SIENA); 348 349 *supportedp = B_TRUE; 350 351 return (0); 352} 353 |
354 __checkReturn efx_rc_t 355siena_mcdi_link_control_supported( 356 __in efx_nic_t *enp, 357 __out boolean_t *supportedp) 358{ 359 EFSYS_ASSERT3U(enp->en_family, ==, EFX_FAMILY_SIENA); 360 361 *supportedp = B_TRUE; 362 363 return (0); 364} 365 |
366#endif /* EFSYS_OPT_SIENA && EFSYS_OPT_MCDI */ |