[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 5 May 2021 17:31:43 +0800
From: Landen Chao <landen.chao@...iatek.com>
To: Andrew Lunn <andrew@...n.ch>,
Frank Wunderlich <frank-w@...lic-files.de>
CC: DENG Qingfang <dqfext@...il.com>,
David Miller <davem@...emloft.net>, <f.fainelli@...il.com>,
<hkallweit1@...il.com>, <kuba@...nel.org>,
<matthias.bgg@...il.com>, <linux@...linux.org.uk>,
<sean.wang@...iatek.com>, <vivien.didelot@...il.com>,
<olteanv@...il.com>, <robh+dt@...nel.org>,
<linus.walleij@...aro.org>, <gregkh@...uxfoundation.org>,
<sergio.paracuellos@...il.com>, <linux-kernel@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-staging@...ts.linux.dev>, <devicetree@...r.kernel.org>,
<netdev@...r.kernel.org>, <weijie.gao@...iatek.com>,
<gch981213@...il.com>, <opensource@...rst.com>,
<tglx@...utronix.de>, <maz@...nel.org>
Subject: Re: Re: Re: Re: [PATCH net-next 0/4] MT7530 interrupt support
On Fri, 2021-04-30 at 18:34 +0200, Andrew Lunn wrote:
> > mhm, maybe the naming should differ if generic phy and net-phy are
> > that different. i guess there is no way to merge the net phys to
> > the
> > generic phys (due to linking to the net device drivers) to have
> > only
> > 1 phy section, right?
>
> phys and generic PHYs are very different things, completely different
> API etc. They cannot be merged.
>
> > but if phy- prefix is used by generic phys, maybe eth- or net- can
> > be used here (maybe with "phy" added)
> >
> > something like
> >
> > eth-phy-mt753x.ko
How about using mediatek-ge.ko. 'ge' is the abbreviation of gigabit
Ethernet. Most mediatek products use the same gigabit Ethernet phy.
Landen
> >
> > else i have no idea now...my patch renaming the musb-module seems
> > not
> > to be accepted due to possible breakage
>
> The usb module has been around for a long time, so it cannot be
> changed. The phy driver is new, not in a released kernel. So we can
> still rename it without causing problems.
>
> I still want to understand the naming here. If you look at most
> Ethernet switches with integrated PHYs, the PHYs have their own
> naming
> scheme, separate from the switch, because they are independent IP. So
> i would prefer this driver by named after the PHY name, not the
> switch
> name. That might solve the naming conflict, mt123x for the PHY,
> mt7530
> for the switch driver.
>
> Andrew
Powered by blists - more mailing lists