x86 64: Add new device Cordoba Edge Platform
[openwrt/staging/hauke.git] / target / linux / x86 / base-files / etc / board.d / 02_network
index 0a0f32eb801ce66cac599b7a277a2e22d9af63a5..b18ab60120eb047d69c5bef32fcdfe2b27c408cf 100644 (file)
@@ -78,6 +78,17 @@ traverse-technologies-geos)
        macaddr="$(cat /sys/class/net/eth0/address)" 2>/dev/null
        [ -n "$macaddr" ] && ucidef_set_interface_macaddr "wan" "$macaddr"
        ;;
+silicom-80500-0214-*)
+        ucidef_set_network_device_path "wan0" "pci0000:00/0000:00:16.0/0000:03:00.0"
+        ucidef_set_network_device_path "wan1" "pci0000:00/0000:00:16.0/0000:03:00.1"
+        ucidef_set_network_device_path "media0" "pci0000:00/0000:00:17.0/0000:02:00.1"
+        ucidef_set_network_device_path "media1" "pci0000:00/0000:00:17.0/0000:02:00.0"
+        ucidef_set_network_device_path "eth0" "pci0000:00/0000:00:0c.0/0000:04:00.0"
+        ucidef_set_network_device_path "eth1" "pci0000:00/0000:00:0e.0/0000:05:00.0"
+        ucidef_set_network_device_path "eth2" "pci0000:00/0000:00:0f.0/0000:06:00.0"
+        ucidef_set_network_device_path "eth3" "pci0000:00/0000:00:10.0/0000:07:00.0"
+        ucidef_set_interfaces_lan_wan "eth0 eth1 eth2 eth3" "wan0"
+        ;;
 esac
 board_config_flush