1
2
3
4
5
6
7 #ifndef EF4_WORKAROUNDS_H
8 #define EF4_WORKAROUNDS_H
9
10
11
12
13
14
15 #define EF4_WORKAROUND_FALCON_A(efx) (ef4_nic_rev(efx) <= EF4_REV_FALCON_A1)
16 #define EF4_WORKAROUND_FALCON_AB(efx) (ef4_nic_rev(efx) <= EF4_REV_FALCON_B0)
17 #define EF4_WORKAROUND_10G(efx) 1
18
19
20 #define EF4_WORKAROUND_7884 EF4_WORKAROUND_10G
21
22 #define EF4_WORKAROUND_15592 EF4_WORKAROUND_FALCON_AB
23
24
25 #define EF4_WORKAROUND_5129 EF4_WORKAROUND_FALCON_A
26
27 #define EF4_WORKAROUND_5391 EF4_WORKAROUND_FALCON_A
28
29 #define EF4_WORKAROUND_5583 EF4_WORKAROUND_FALCON_A
30
31 #define EF4_WORKAROUND_5676 EF4_WORKAROUND_FALCON_A
32
33 #define EF4_WORKAROUND_6555 EF4_WORKAROUND_FALCON_A
34
35 #define EF4_WORKAROUND_7244 EF4_WORKAROUND_FALCON_A
36
37 #define EF4_WORKAROUND_7803 EF4_WORKAROUND_FALCON_AB
38
39 #define EF4_WORKAROUND_8071 EF4_WORKAROUND_FALCON_A
40
41 #endif