3 # reset button only supported on ar5315+ at the moment
5 if [ -z "$pi_ifname" ]; then
6 grep 'Atheros AR231[567]' /proc/cpuinfo > /dev/null && {
7 if [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/0:00" -o \
8 -e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/0:10" ]; then
9 vconfig set_name_type DEV_PLUS_VID_NO_PAD
18 [ -n "$pi_ifname" ] && grep "$pi_ifname" /proc/net/dev >/dev/null && {
19 ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
24 # reset button only supported on ar5315+ at the moment
26 preinit_ip_deconfig() {
27 if [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/0:00" -o \
28 -e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/0:10" ]; then
29 vconfig rem eth0.1 2>/dev/null
30 ifconfig $pi_ifname down