Messages in this thread | | | Date | Thu, 29 Oct 2020 14:32:40 -0700 | From | Jakub Kicinski <> | Subject | Re: [PATCH net-next 1/2] net: phy: realtek: Add phy ids for RTL8226-CG/RTL8226B-CG |
| |
On Thu, 29 Oct 2020 20:07:57 +0800 Willy Liu wrote: > Realtek single-port 2.5Gbps Ethernet PHY ids as below: > RTL8226-CG: 0x001cc800(ES)/0x001cc838(MP) > RTL8226B-CG/RTL8221B-CG: 0x001cc840(ES)/0x001cc848(MP) > ES: engineer sample > MP: mass production > > Since above PHYs are already in mass production stage, > mass production id should be added. > > Signed-off-by: Willy Liu <willy.liu@realtek.com>
drivers/net/phy/realtek.c: In function ‘rtl8226_match_phy_device’: drivers/net/phy/realtek.c:540:47: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 540 | (phydev->phy_id == RTL_8226_MP_PHYID) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 541 | rtlgen_supports_2_5gbps(phydev); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |