Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2011 14:05:40 +0200
From:      Aleksandr Rybalko <ray@freebsd.org>
To:        freebsd-net@FreeBSD.org
Subject:   "float PHYs", communication between indirect attached devices
Message-ID:  <20111210140540.6301dfa9.ray@freebsd.org>

next in thread | raw e-mail | index | archive | help
Hi net@ subscribers,

Simple explanation of problem: 
real situation, device with two NICs (arge0 and arge1)
arge0 attached to PHY w/o direct access to it.
arge1 attached to switch MII port (and have access to MDIO bus).

switch have child MDIO bus for all Physical ports.
One of this ports (or his PHY) must be controlled by arge0.

I will do pseudo PHY driver that must communicate with real one on
switch MDIO bus.

Question: how to communicate, since newbus can't handle two parents:
1) sysctl
2) events
3) kenv
4) something better
globals is not a solution, because it is possible that we will have
some device with more than one "float PHYs"

please, help me to find best way!

Wait for your suggestions, comments, hints, etc.

WBW
-- 
Aleksandr Rybalko <ray@freebsd.org>



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