|
@@ -2107,7 +2107,7 @@ static int fec_enet_get_regs_len(struct net_device *ndev)
|
|
|
/* List of registers that can be safety be read to dump them with ethtool */
|
|
|
#if defined(CONFIG_M523x) || defined(CONFIG_M527x) || defined(CONFIG_M528x) || \
|
|
|
defined(CONFIG_M520x) || defined(CONFIG_M532x) || defined(CONFIG_ARM) || \
|
|
|
- defined(CONFIG_ARM64)
|
|
|
+ defined(CONFIG_ARM64) || defined(CONFIG_COMPILE_TEST)
|
|
|
static u32 fec_enet_register_offset[] = {
|
|
|
FEC_IEVENT, FEC_IMASK, FEC_R_DES_ACTIVE_0, FEC_X_DES_ACTIVE_0,
|
|
|
FEC_ECNTRL, FEC_MII_DATA, FEC_MII_SPEED, FEC_MIB_CTRLSTAT, FEC_R_CNTRL,
|