[Zrouter-src] ZRouter.org: push to ZRouter boards/D-Link/DIR-615-E4/board.hints

zrouter-src at zrouter.org zrouter-src at zrouter.org
Wed Jan 11 15:30:46 UTC 2012


details:   http://zrouter.org/hg/zrouter//rev/e7f7cf68e12a
changeset: 312:e7f7cf68e12a
user:      ray at terran.dlink.ua
date:      Wed Jan 11 17:30:18 2012 +0200
description:
Update hints to use with current switch framework.

diffstat:

 boards/D-Link/DIR-615-E4/board.hints |  35 +++++++++++++++++++----------------
 1 files changed, 19 insertions(+), 16 deletions(-)

diffs (50 lines):

diff -r 2d48fe71f954 -r e7f7cf68e12a boards/D-Link/DIR-615-E4/board.hints
--- a/boards/D-Link/DIR-615-E4/board.hints	Wed Jan 11 17:29:16 2012 +0200
+++ b/boards/D-Link/DIR-615-E4/board.hints	Wed Jan 11 17:30:18 2012 +0200
@@ -57,27 +57,30 @@
 #hint.nvram.0.maxsize=0x2000
 #hint.nvram.0.flags=9 # 1 = No check, 2 = Format U-Boot
 
-hint.miibus.0.phymask="0x00000001"
-hint.miibus.1.phymask="0x00000001"
+# No probe at all
+hint.miibus.0.phymask="0x00000000"
+hint.miibus.1.phymask="0x00000000"
 
 hint.floatphy.0.at="miibus0"
 hint.floatphy.0.phyno=0
-hint.floatphy.0.id1=0xffff
-hint.floatphy.0.id2=0x0000 # Float PHY
+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
 
-hint.switch.0.at="miibus1"
-hint.switch.0.phyno=0
-hint.switch.0.id1=0xffff
-hint.switch.0.id2=0x0080 # AR8x16 switch
+# 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.plumbphy.0.master="ar8x16_switch0"
-#hint.plumbphy.0.port=4
-
-#hint.switch.0.iface="arge0"
-#hint.switch.0.driver="ar8x16_switch"
-#hint.switch.1.iface="arge1"
-#hint.switch.1.driver="ar8x16_switch"
+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
 
 # GPIO
 hint.gpio.0.at="apb0"


More information about the Zrouter-src mailing list