From c11de6f059ca3959300d1ec93e30469eceb07948 Mon Sep 17 00:00:00 2001 From: Aleksandr Rybalko Date: Wed, 7 Nov 2012 22:46:30 +0000 Subject: [PATCH] Hint miibus to attach arswitch on AP91, AP93 and RSPRO boards. Submitted by: Luiz Otavio O Souza Approved by: adrian (menthor) --- sys/mips/conf/AP91.hints | 1 + sys/mips/conf/AP93.hints | 1 + sys/mips/conf/RSPRO.hints | 1 + 3 files changed, 3 insertions(+) diff --git a/sys/mips/conf/AP91.hints b/sys/mips/conf/AP91.hints index 803bbc2872f..6c0cc433a6f 100644 --- a/sys/mips/conf/AP91.hints +++ b/sys/mips/conf/AP91.hints @@ -30,6 +30,7 @@ hint.arge.1.fduplex=1 # # AR7240 switch config # +hint.arswitch.0.at="mdio0" hint.arswitch.0.is_7240=1 # We need to be explicitly told this hint.arswitch.0.numphys=4 # 4 active switch PHYs (PHY 0 -> 3) hint.arswitch.0.phy4cpu=1 # Yes, PHY 4 == dedicated PHY diff --git a/sys/mips/conf/AP93.hints b/sys/mips/conf/AP93.hints index 91f2a045e58..22be50fcff3 100644 --- a/sys/mips/conf/AP93.hints +++ b/sys/mips/conf/AP93.hints @@ -25,6 +25,7 @@ hint.arge.1.fduplex=1 # # AR7240 switch config # +hint.arswitch.0.at="mdio0" hint.arswitch.0.is_7240=1 # We need to be explicitly told this hint.arswitch.0.numphys=4 # 4 active switch PHYs (PHY 0 -> 3) hint.arswitch.0.phy4cpu=1 # Yes, PHY 4 == dedicated PHY diff --git a/sys/mips/conf/RSPRO.hints b/sys/mips/conf/RSPRO.hints index 3be5d1361ca..a802328db3b 100644 --- a/sys/mips/conf/RSPRO.hints +++ b/sys/mips/conf/RSPRO.hints @@ -17,6 +17,7 @@ hint.arge.1.fduplex=1 # hint.arge.1.phymask=0x0 # no directly mapped PHYs hint.arge.1.miimode=3 # RGMII +hint.arswitch.0.at="mdio0" hint.arswitch.0.is_7240=0 hint.arswitch.0.numphys=4 hint.arswitch.0.phy4cpu=1