From 04709b7c07ee4e5391fd3a338a4d79de5c97a948 Mon Sep 17 00:00:00 2001 From: Oleksandr Tymoshenko Date: Thu, 12 Nov 2009 21:33:36 +0000 Subject: [PATCH] - Reorganize hints according to if_arge changes: set media for multiPHY MAC and use mask to specify PHYs. --- sys/mips/conf/AR71XX.hints | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sys/mips/conf/AR71XX.hints b/sys/mips/conf/AR71XX.hints index 0593dc0d2cc6..e3966ba8d64b 100644 --- a/sys/mips/conf/AR71XX.hints +++ b/sys/mips/conf/AR71XX.hints @@ -29,16 +29,23 @@ hint.arge.0.at="nexus0" hint.arge.0.maddr=0x19000000 hint.arge.0.msize=0x1000 hint.arge.0.irq=2 +# PHY4 = 1 << 4 +hint.arge.0.phymask=0x10 # Uncomment this hint for RS (not PRO) -# hint.arge.0.phy=20 +# PHY20 = 1 << 20 +# hint.arge.0.phymask=0x100000 hint.arge.1.at="nexus0" hint.arge.1.maddr=0x1a000000 hint.arge.1.msize=0x1000 hint.arge.1.irq=3 -hint.arge.1.phy=3 +# PHY1, PHY2, PHY3 +hint.arge.1.phymask=0x0e +# should be 100 for RS +hint.arge.1.media=1000 +hint.arge.1.fduplex=1 # Uncomment this hint for RS (not PRO) -# hint.arge.1.phy=19 +# hint.arge.0.phymask=70000 # SPI flash hint.spi.0.at="nexus0"