diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-10-31 01:01:31 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-10-31 01:01:31 +0300 |
commit | 1f1c2b39cd57d8d9782685c595b005d6b7023c46 (patch) | |
tree | eee94b4179e9c62024bb2754bed9fdd338e9212a /src/Hardware/SAME70 | |
parent | 22276b993bc8db027d55d8d47de4559ad10ca044 (diff) |
Fixes for static analysis
Diffstat (limited to 'src/Hardware/SAME70')
-rw-r--r-- | src/Hardware/SAME70/Ethernet/ksz8081rna/ethernet_phy.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Hardware/SAME70/Ethernet/ksz8081rna/ethernet_phy.h b/src/Hardware/SAME70/Ethernet/ksz8081rna/ethernet_phy.h index 7baa3e63..e9b73122 100644 --- a/src/Hardware/SAME70/Ethernet/ksz8081rna/ethernet_phy.h +++ b/src/Hardware/SAME70/Ethernet/ksz8081rna/ethernet_phy.h @@ -47,6 +47,10 @@ #ifndef ETHERNET_PHY_H_INCLUDED #define ETHERNET_PHY_H_INCLUDED +#include <ecv.h> +#undef array +#undef out + #include "compiler.h" // IEEE defined Registers @@ -115,7 +119,7 @@ #define GMII_RF (1 << 13) // Remote Fault // Reserved 12 // Write as 0, ignore on read #define GMII_PAUSE_MASK (3 << 10) // 0,0 = No Pause 1,0 = Asymmetric Pause(link partner) - // 0,1 = Symmetric Pause 1,1 = Symmetric&Asymmetric Pause(local device) + // 0,1 = Symmetric Pause 1,1 = Symmetric&Asymmetric Pause(local device) #define GMII_100T4 (1 << 9) // 100BASE-T4 Support #define GMII_100TX_FDX (1 << 8) // 100BASE-TX Full Duplex Support #define GMII_100TX_HDX (1 << 7) // 100BASE-TX Half Duplex Support |