![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /**************************************************************************** 0003 * Driver for Solarflare network controllers and boards 0004 * Copyright 2006-2013 Solarflare Communications Inc. 0005 */ 0006 0007 #ifndef EFX_WORKAROUNDS_H 0008 #define EFX_WORKAROUNDS_H 0009 0010 /* 0011 * Hardware workarounds. 0012 * Bug numbers are from Solarflare's Bugzilla. 0013 */ 0014 0015 #define EFX_WORKAROUND_SIENA(efx) (efx_nic_rev(efx) == EFX_REV_SIENA_A0) 0016 #define EFX_WORKAROUND_EF10(efx) (efx_nic_rev(efx) >= EFX_REV_HUNT_A0) 0017 #define EFX_WORKAROUND_10G(efx) 1 0018 0019 /* Bit-bashed I2C reads cause performance drop */ 0020 #define EFX_WORKAROUND_7884 EFX_WORKAROUND_10G 0021 /* Legacy interrupt storm when interrupt fifo fills */ 0022 #define EFX_WORKAROUND_17213 EFX_WORKAROUND_SIENA 0023 0024 /* Moderation timer access must go through MCDI */ 0025 #define EFX_EF10_WORKAROUND_61265(efx) \ 0026 (((struct efx_ef10_nic_data *)efx->nic_data)->workaround_61265) 0027 0028 #endif /* EFX_WORKAROUNDS_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |