"float PHYs", communication between indirect attached devices

Aleksandr Rybalko ray at freebsd.org
Sat Dec 10 12:22:34 UTC 2011


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 at freebsd.org>


More information about the freebsd-net mailing list