if_muge: Add GMII enable (vs RGMII) bit
The GMII control bit ETH_MAC_CR_GMII_EN_ is not documented in LAN78xx datasheets, but from the permissively licensed header provided by Microchip it is: #define ETH_MAC_CR_GMII_EN (0x00080000UL ) // GMII/RGMII Selection
This commit is contained in:
parent
f0db235b7d
commit
cfa989aa34
@ -207,6 +207,7 @@
|
||||
|
||||
/* MAC Control Register */
|
||||
#define ETH_MAC_CR 0x100
|
||||
#define ETH_MAC_CR_GMII_EN_ (0x1U << 19) /* GMII Enable */
|
||||
#define ETH_MAC_CR_AUTO_DUPLEX_ (0x1U << 12)
|
||||
#define ETH_MAC_CR_AUTO_SPEED_ (0x1U << 11)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user