I'm working with a custom board which has two network interface card. One is on Main Board and the other is on a Debug Board. The relationship between them is show in the figure below.
If Debug Board is not inserted, the name of Ethernet A is 'eth0' and it works well. If Debug Board is inserted, the name of Ethernet A changes to 'eth1' but the name of Ethernet B is 'eth0'. In that case, Ethernet B works well, but Ethernet A seems to be offline and Zynq cannot communicate with Processor B.
My problem is,
1. How could I set Ethernet A to eth0 no matter if Debug Board is inserted
2. If the two network interface card can work together?