Date: Tue, 21 Dec 2021 09:57:47 +0100 From: Milan Obuch <freebsd-net@dino.sk> To: freebsd-net@freebsd.org Subject: Postponed/detached MII attachment? Message-ID: <20211221095747.68f398c2@zeta.dino.sk>
next in thread | raw e-mail | index | archive | help
Hi, a week ago I tried to get some hint from hackers, no response there. (Subject: Two devices created for one block in device tree?) I have a board with SoC containing two MACs (cgem driver) plus two PHYs, but MDIO bus controlling both PHYs is connected to second MAC. Thus my problem is how can I attach miibus instance to first (cgem0) driver after second one (cgem1) is initialized. As noted in my mail mentioned above, I am aware of miiproxy device, which should be basically the solution. It is used only for arge driver in official FreeBSD src tree, which uses hints, while I need FDT based device tree. Could anybody offer any hint, pointer, assistance? I am trying to get somewhere, but all my attempts do not yield usable resuld, yet. Regards, Milan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211221095747.68f398c2>