[PATCH net-next v8 09/13] net: phy: mediatek: Add token ring access helper functions in mtk-phy-lib
SkyLake Huang (黃啟澤)
SkyLake.Huang at mediatek.com
Mon Jun 24 03:41:12 PDT 2024
On Sat, 2024-06-22 at 19:41 +0200, Andrew Lunn wrote:
>
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> On Fri, Jun 21, 2024 at 08:20:41PM +0800, Sky Huang wrote:
> > From: "SkyLake.Huang" <skylake.huang at mediatek.com>
> >
> > This patch adda TR(token ring) manipulations and add correct
>
> s/adda/adds
>
> plus "adds the correct macro names for"
>
> > macro name for those magic numbers. TR is a way to access
> > proprietary register on page 52b5. Use these helper functions
>
> registers
>
> > +/* ch_addr = 0x2, node_addr = 0xd, data_addr = 0x8 */
> > +/* clear this bit if wanna select from AFE */
> > +/* Regsigdet_sel_1000 */
> > +#define EEE1000_SELECT_SIGNEL_DETECTION_FROM_DFEBIT(4)
>
> Should that be SIGNAL?
>
> Andrew
Yes, SIGNAL is correct. I'll fix all of the above in next version.
BRs,
Sky
More information about the Linux-mediatek
mailing list