Dear Jonathan Haws, In message <bb99a6ba28709744bf22a68e6d7eb51f0324bbb...@midas.usurf.usu.edu> you wrote: > > I am having issues getting EMAC1 working alongside EMAC0. We need > both EMACs running at the same time in U-Boot (U-Boot handles the PHY > configuration, since the VxWorks implementation of PHY initialization > is buggy).
Hm... Note that such code will probably not go into mainline. The principle in U-Boot is not to initialize any devices that are not used by U-Boot itself, so unless you use a network related command in U-Boot, none of the Ethenret interfaces shall be initialized; and U-Boot never uses more than one at a time in any case. > What I have done is this: > > In net/eth.c I have modified the eth_init(bd_t *bis) function to > simply initialize both EMACs (line 443). We use EMAC0 by default, so > I set eth_current back to EMAC0 when I am finished and return 0 on > success. Here is what the function looks like right now: (I know I > can clean this up better, but I am looking for a first cut solution > that works. When I have it working, I will clean up the code.) NAK. This will not go into mainline. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de There are three ways to get something done: (1) Do it yourself. (2) Hire someone to do it for you. (3) Forbid your kids to do it. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot