[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <53432661-8AF3-4984-A7E3-81A4441366B9@net-swift.com>
Date: Sun, 11 Dec 2022 20:31:11 +0800
From: "mengyuanlou@...-swift.com" <mengyuanlou@...-swift.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: netdev@...r.kernel.org, jiawenwu@...stnetic.com
Subject: Re: [PATCH net-next v2] net: ngbe: Add ngbe mdio bus driver.
> 2022年12月11日 20:02,Andrew Lunn <andrew@...n.ch> 写道:
>
>>> If you don't have the I2C bus, i'm wondering how you can actually
>>> driver the SFP and the MAC. You have no idea what has been
>>> inserted. Is it actually an SFF, not an SFP? Do you have any of the
>>> GPIOs normally associated with an SFP? TX_DISABLE, LOS, TX_FAULT?
>>>
>> 1、Yeah. We can't know what module is inserted
>
> That is a very odd design. You are going to get all sorts of reports
> of it being broken when some random module is interested.
>
> If it was my design, i would not use an SFP socket. I would solder
> down an SFF. They should be pin compatible. You then know exactly what
> you have, and how the MAC needs to be configured.
>
> Andrew
>
The phy can tell Mac which speed needs to be configured.
just speed
Of course it's not good。
It is fully determined by the capability of the phy.
Powered by blists - more mailing lists