[Zrouter-src] ZRouter.org: push to ZRouter boards/Ubiquiti/RSPRO/board.hints

zrouter-src at zrouter.org zrouter-src at zrouter.org
Wed Jan 25 11:17:49 UTC 2012


details:   http://zrouter.org/hg/zrouter//rev/174603bd07da
changeset: 328:174603bd07da
user:      ray at terran.dlink.ua
date:      Wed Jan 25 13:17:47 2012 +0200
description:
AR8316 attachment for test

diffstat:

 boards/Ubiquiti/RSPRO/board.hints |  30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r 8474177fbb77 -r 174603bd07da boards/Ubiquiti/RSPRO/board.hints
--- a/boards/Ubiquiti/RSPRO/board.hints	Wed Jan 25 13:07:56 2012 +0200
+++ b/boards/Ubiquiti/RSPRO/board.hints	Wed Jan 25 13:17:47 2012 +0200
@@ -29,11 +29,35 @@
 hint.arge.1.media=100
 hint.arge.1.fduplex=1
 
-hint.miibus.0.phymask="0x00100000"
+# No probe at all
+hint.miibus.0.phymask="0x00000000"
 hint.miibus.1.phymask="0x00000000"
-hint.floatphy.0.at="miibus1"
+
+hint.floatphy.0.at="miibus0"
 hint.floatphy.0.phyno=0
-hint.floatphy.0.speed=1000
+hint.floatphy.0.master="switch"
+hint.floatphy.0.master_unit=0
+hint.floatphy.0.master_phys=0x00000010 # Sense PHY4
+hint.floatphy.0.flags=0x00000000
+hint.floatphy.0.speed=100
+
+# Switch attached to MDIO bus on arge0
+hint.switch.0.at="miibus0"
+hint.switch.0.phyno=1
+hint.ar8x16_switch.0.mii_mode=0x012603e2
+
+hint.floatphy.1.at="miibus1"
+hint.floatphy.1.phyno=0
+hint.floatphy.1.master="switch"
+hint.floatphy.1.master_unit=0
+hint.floatphy.1.master_phys=0x0000000f # Link Sensing PHY0-PHY3
+hint.floatphy.1.flags=0x00000004 # "Link on any PHYs" | "Static link speed"
+hint.floatphy.1.speed=1000
+
+# This one only for test
+hint.switch.1.at="miibus1"
+hint.switch.1.phyno=1
+hint.ar8x16_switch.1.mii_mode=0x012603e2
 
 # RTC shares the same bus with mx25l. 
 # CE low for flash, CE high for RTC


More information about the Zrouter-src mailing list