Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2010 16:36:39 -0800
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        M. Warner Losh <imp@bsdimp.com>
Cc:        freebsd-mips@FreeBSD.org
Subject:   Re: NIC on RouterBoard 411
Message-ID:  <A6CE46CF-246A-402E-BD05-2C785F270A29@bluezbox.com>
In-Reply-To: <20100123.144216.1084339115216047983.imp@bsdimp.com>
References:  <20100123155657.GG23141@darkthrone.kvedulv.de> <20100123.113710.715074405929305890.imp@bsdimp.com> <20100123204257.GH23141@darkthrone.kvedulv.de> <20100123.144216.1084339115216047983.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 2010-01-23, at 1:42 PM, M. Warner Losh wrote:

> In message: <20100123204257.GH23141@darkthrone.kvedulv.de>
>            Michael Moll <kvedulv@kvedulv.de> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A6CE46CF-246A-402E-BD05-2C785F270A29>