From owner-freebsd-mips@FreeBSD.ORG Sun Jan 24 00:36:48 2010 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55B35106566B for ; Sun, 24 Jan 2010 00:36:48 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from expo.ukrweb.net (mail.univua.net [91.202.128.78]) by mx1.freebsd.org (Postfix) with ESMTP id AF5258FC13 for ; Sun, 24 Jan 2010 00:36:47 +0000 (UTC) Received: from [174.6.209.117] (helo=[192.168.1.141]) by expo.ukrweb.net with esmtpa (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NYqT3-0008nu-On; Sun, 24 Jan 2010 02:36:44 +0200 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Oleksandr Tymoshenko In-Reply-To: <20100123.144216.1084339115216047983.imp@bsdimp.com> Date: Sat, 23 Jan 2010 16:36:39 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20100123155657.GG23141@darkthrone.kvedulv.de> <20100123.113710.715074405929305890.imp@bsdimp.com> <20100123204257.GH23141@darkthrone.kvedulv.de> <20100123.144216.1084339115216047983.imp@bsdimp.com> To: M. Warner Losh X-Mailer: Apple Mail (2.1077) X-SA-Exim-Connect-IP: 174.6.209.117 X-SA-Exim-Mail-From: gonzo@bluezbox.com X-SA-Exim-Scanned: No (on expo.ukrweb.net); SAEximRunCond expanded to false X-Spam-Level: - X-Spam-Report: -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -0.2 BAYES_40 BODY: Bayesian spam probability is 20 to 40% [score: 0.3579] 0.9 AWL AWL: From: address is in the auto white-list Cc: freebsd-mips@FreeBSD.org Subject: Re: NIC on RouterBoard 411 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 00:36:48 -0000 On 2010-01-23, at 1:42 PM, M. Warner Losh wrote: > In message: <20100123204257.GH23141@darkthrone.kvedulv.de> > Michael Moll writes: > : Hi Warner, > :=20 > : On Sat, Jan 23, 2010 at 11:37:10AM -0700, M. Warner Losh wrote: > : > This is the mask of PHY addresses. If you have the documentation = for > : > the PHY addresses on your board, create a bitmask from that. If = you > : > lack documentation, trial an error likely can have good results = since > : > there's only 32 possible addresses the PHYs could be wired to. > :=20 > : Thanks, it now boots multiuser with hint.arge.0.phymask=3D0x0e >=20 > Cool. Maybe I'll create a hints file for it. >=20 > btw, do you know if there's a way to determine at run-time if we're > booting on this board? Last time I checked hardware configuration was set at build-time. There = are files=20 named mach-XXXX.c. Each file acts effectively like FreeBSD's XXXX.hints. = Only that C file is a little bit more flexible then hints description language :) =20=