On 5/27/2020 3:34 AM, Russell King wrote: > We have two competing requirements for the devices_in_package field. > We want to use it as a bit array indicating which MMDs are present, but > we also want to know if the Clause 22 registers are present. > > Since "devices in package" is a term used in the 802.3 specification, > keep this as the as-specified values read from the PHY, and introduce > a new member "mmds_present" to indicate which MMDs are actually > present in the PHY, derived from the "devices in package" value. > > Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian
- Re: [PATCH RFC v2 6/9] net: phy: add support for pro... Florian Fainelli
- [PATCH RFC v2 3/9] net: phy: clean up get_phy_c45_ids() f... Russell King
- Re: [PATCH RFC v2 3/9] net: phy: clean up get_phy_c4... Florian Fainelli
- [PATCH RFC v2 9/9] net: phy: read MMD ID from all present... Russell King
- Re: [PATCH RFC v2 9/9] net: phy: read MMD ID from al... Florian Fainelli
- [PATCH RFC v2 5/9] net: phy: reword get_phy_device() kern... Russell King
- Re: [PATCH RFC v2 5/9] net: phy: reword get_phy_devi... Florian Fainelli
- [PATCH RFC v2 7/9] net: phy: set devices_in_package only ... Russell King
- Re: [PATCH RFC v2 7/9] net: phy: set devices_in_pack... Florian Fainelli
- [PATCH RFC v2 8/9] net: phy: split devices_in_package Russell King
- Re: [PATCH RFC v2 8/9] net: phy: split devices_in_pa... Florian Fainelli
- [PATCH RFC v2 4/9] net: phy: clean up get_phy_c22_id() in... Russell King
- Re: [PATCH RFC v2 4/9] net: phy: clean up get_phy_c2... Florian Fainelli