Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2012 17:21:52 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>, Aleksandr Rybalko <ray@ddteam.net>, Adrian Chadd <adrian@freebsd.org>, Warner Losh <imp@bsdimp.com>, FreeBSD-arch <freebsd-arch@freebsd.org>
Subject:   Re: Ethernet Switch Framework
Message-ID:  <5785C7EF-B886-459B-911C-870A4594AC4C@lassitu.de>
In-Reply-To: <20120129161938.GD39861@alchemy.franken.de>
References:  <20120122195130.360261ce.ray@freebsd.org> <CAJ-VmokTh2q0ZH=kwU6GzJm5Mr4k7geJiFsoX_A9hcLhMZNxsg@mail.gmail.com> <0E31FEC4-963D-4AC8-9AB7-EE6D6D7F86EE@lassitu.de> <CAJ-Vmo=GRKRf%2BYsFqNm9d_T3Tq583uV_pabMV6ozuaytSRLivg@mail.gmail.com> <20120129001251.7e4cfe83.ray@ddteam.net> <CACVs6=-U9rr7cpeJ%2BVUgP3Xq1yRB=Xk1GjuzEOuXiEUoqGFq_Q@mail.gmail.com> <DBAB0C5C-5B2D-4430-8096-9E4DC7233961@bsdimp.com> <81B88904-6894-4AC3-80F3-2866216E494B@lassitu.de> <20120129153159.GA44362@alchemy.franken.de> <3B5A749B-9553-4152-9441-3F343BA219FB@lassitu.de> <20120129161938.GD39861@alchemy.franken.de>

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

Am 29.01.2012 um 17:19 schrieb Marius Strobl:

>>> We really need
>>> to find a proper way of dealing with the constraints of the =
embedded-
>>> world rather than to sprinkle hacks all over the place.
>>=20
>> Why is the above is less of a hack than making the ordering in nexus =
configurable through a hint?
>>=20
>=20
> If it's generally true that driver A must be attached before driver
> B as B has a dependency on A than this should be expressed and
> configured in the drivers themselves and not need an extra hint to
> configure it at the runtime of the kernel.

Except that it is not generally true, but only in specific =
configurations.  Other boards have other combinations of devices.  The =
Atheros family of switches is available both embedded into certain SoC =
as well as separate silicon.


Stefan

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5785C7EF-B886-459B-911C-870A4594AC4C>