eZ80: fix typos in emac driver

This commit is contained in:
Byron Ellacott 2021-02-17 17:45:38 +10:00 committed by Xiang Xiao
parent 256c5c266a
commit bf7bd51a62

View File

@ -89,8 +89,8 @@
* into that region. * into that region.
*/ */
extern uintptr_t __RAM_ADDR_U_INIT_PARAM; extern uintptr_t _RAM_ADDR_U_INIT_PARAM;
#define ETH_RAMADDR ((uintptr_t)&__RAM_ADDR_U_INIT_PARAM << 16) + 0x00c000 #define ETH_RAMADDR ((uintptr_t)&_RAM_ADDR_U_INIT_PARAM << 16) + 0x00c000
#if CONFIG_NET_ETH_PKTSIZE > 1518 #if CONFIG_NET_ETH_PKTSIZE > 1518
# error "MAXF size too big for this device" # error "MAXF size too big for this device"
@ -930,7 +930,7 @@ static int ez80emac_miiconfigure(FAR struct ez80emac_driver_s *priv)
ninfo(" MII_ADVERTISE: %04x\n", ez80emac_miiread(priv, MII_ADVERTISE)); ninfo(" MII_ADVERTISE: %04x\n", ez80emac_miiread(priv, MII_ADVERTISE));
ninfo(" MII_LPA: %04x\n", ez80emac_miiread(priv, MII_LPA)); ninfo(" MII_LPA: %04x\n", ez80emac_miiread(priv, MII_LPA));
ninfo(" MII_EXPANSION: %04x\n", ez80emac_miiread(priv, MII_EXPANSION)); ninfo(" MII_EXPANSION: %04x\n", ez80emac_miiread(priv, MII_EXPANSION));
ninfo("EMAC CFG1: %02x\n", inp(EZ80_EMAC_CFG11)); ninfo("EMAC CFG1: %02x\n", inp(EZ80_EMAC_CFG1));
return OK; return OK;
} }
#endif #endif