int board_eth_init(bd_t *bis) { if (KSZ_POSSIBLE) { if (!board_ksz_init()) return 0; } return bfin_EMAC_initialize(bis); }
int board_eth_init(bd_t *bis) { int retry = 3; int ret; ret = bfin_EMAC_initialize(bis); uchar enetaddr[6]; if (eth_getenv_enetaddr("ethaddr", enetaddr)) { printf("setting MAC %pM\n", enetaddr); } puts(" "); puts("initialize SMSC LAN9303i ethernet switch\n"); while (retry-- > 0) { if (init_smsc9303i_mii()) return ret; } return ret; }
int board_eth_init(bd_t *bis) { return bfin_EMAC_initialize(bis); }
int board_eth_init(bd_t *bis) { /* return ok if at least 1 eth device works */ return bfin_EMAC_initialize(bis) & smc911x_initialize(0, CONFIG_SMC911X_BASE); }