[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <rq9nih$egv$1@ciao.gmane.io>
Date: Thu, 3 Dec 2020 03:54:57 -0000 (UTC)
From: Grant Edwards <grant.b.edwards@...il.com>
To: netdev@...r.kernel.org
Subject: Re: net: macb: fail when there's no PHY
On 2020-12-03, Florian Fainelli <f.fainelli@...il.com> wrote:
> You would have to have a local hack that intercepts the macb_ioctl()
> and instead of calling phylink_mii_ioctl() it would have to
> implement a custom ioctl() that does what
> drivers/net/phy/phy.c::phy_mii_ioctl does except the mdiobus should
> be pointed to the MACB MDIO bus instance and not be derived from the
> phy_device instance (because that one points to the fixed PHY).
So I can avoid my local hack to macb_main.c by doing a doing a local
hack to macb_main.c?
--
Grant
Powered by blists - more mailing lists