From 3756fba2d4c82bfc2bf90a295253db543409acba Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 24 Aug 2009 21:25:07 +0000 Subject: [PATCH] adjust the default network config for atheros devices with IP175C (e.g. D-Link DIR-300), backport from trunk SVN-Revision: 17384 --- .../base-files/etc/uci-defaults/network | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/target/linux/atheros/base-files/etc/uci-defaults/network b/target/linux/atheros/base-files/etc/uci-defaults/network index 61a790f868..0cd7a52628 100644 --- a/target/linux/atheros/base-files/etc/uci-defaults/network +++ b/target/linux/atheros/base-files/etc/uci-defaults/network @@ -8,4 +8,23 @@ set network.wan.ifname=eth0.1 set network.wan.proto=dhcp commit network EOF +elif [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175C/0:00" ]; then + uci batch <