Date: Sat, 23 Jan 2010 18:49:48 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: gonzo@bluezbox.com Cc: freebsd-mips@freebsd.org Subject: Re: NIC on RouterBoard 411 Message-ID: <20100123.184948.807935107107560660.imp@bsdimp.com> In-Reply-To: <A6CE46CF-246A-402E-BD05-2C785F270A29@bluezbox.com> References: <20100123204257.GH23141@darkthrone.kvedulv.de> <20100123.144216.1084339115216047983.imp@bsdimp.com> <A6CE46CF-246A-402E-BD05-2C785F270A29@bluezbox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <A6CE46CF-246A-402E-BD05-2C785F270A29@bluezbox.com>
Oleksandr Tymoshenko <gonzo@bluezbox.com> writes:
:
: 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,
: > :
: > : 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.
: > :
: > : Thanks, it now boots multiuser with hint.arge.0.phymask=0x0e
: >
: > Cool. Maybe I'll create a hints file for it.
: >
: > 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 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 :)
I thought it grovelled through the information passed in from the boot
loader to figure it out...
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100123.184948.807935107107560660.imp>
