Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2009 21:33:36 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r199235 - projects/mips/sys/mips/conf
Message-ID:  <200911122133.nACLXa8E043995@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Thu Nov 12 21:33:36 2009
New Revision: 199235
URL: http://svn.freebsd.org/changeset/base/199235

Log:
  - Reorganize hints according to if_arge changes: set media
      for multiPHY MAC and use mask to specify PHYs.

Modified:
  projects/mips/sys/mips/conf/AR71XX.hints

Modified: projects/mips/sys/mips/conf/AR71XX.hints
==============================================================================
--- projects/mips/sys/mips/conf/AR71XX.hints	Thu Nov 12 21:27:58 2009	(r199234)
+++ projects/mips/sys/mips/conf/AR71XX.hints	Thu Nov 12 21:33:36 2009	(r199235)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911122133.nACLXa8E043995>