Configuring two network interfaces (on the

On the mb442 board (STb710x Reference board), you can use both the 7109 Ethernet and the SMC91C111 interfaces. The kernel option for configuring the SMC91C111 interface is: CONFIG_SMC91X.

After booting the kernel on your target, the eth0 device is assigned by default to the SMC NIC. Configure the 7109 Ethernet interface as shown in the example below:

target# ifconfig eth1 hw ether 12:34:56:82:81:AC
target# ifconfig eth1 192.168.1.2

Note: From STLinux-2.3 onwards, take care when configuring both the stmmac and the SMC drivers. By default the stmmac will be the interface eth0.