]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/fm/eth.c
Merge branch 'master' of git://git.denx.de/u-boot-video
[u-boot] / drivers / net / fm / eth.c
index 54b142f47d3a276e7b78384254ad1af4ffcdb5fe..9b139eeb05102d29286ae8121ebf62068c2dc64b 100644 (file)
@@ -568,6 +568,8 @@ static int fm_eth_init_mac(struct fm_eth *fm_eth, struct ccsr_fman *reg)
        num = fm_eth->num;
 
 #ifdef CONFIG_SYS_FMAN_V3
+       if (fm_eth->type == FM_ETH_10G_E)
+               num += 8;
        base = &reg->memac[num].fm_memac;
        phyregs = &reg->memac[num].fm_memac_mdio;
 #else