I have made a custom board with a WP7607. The board has a USB3503 HSIC USB hub to which two LAN9500 ethernet interfaces are connected. Now when the board is started, eth0 and eth1 are assigned to the ports in a random fashion. I want to statically assign eth0 to the left port and eth1 to the right port.
The left port is connected to USB port 3 and the right one to USB port 2. When I take a look in /sys/class/net I see the following:
eth0 -> …/…/devices/7c00000.hsic_host/usb1/1-1/1-1.2/1-1.2:1.0/net/eth0
eth1 -> …/…/devices/7c00000.hsic_host/usb1/1-1/1-1.3/1-1.3:1.0/net/eth1
I believe it should be possible to assign them the other way around. I can’t find any clear documentation on this unfortunately. Does anyone know how to get this working?