mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
net: phy: Add clause 45 identifier to phy_device
The phy devices can be accessed via clause 22 or via clause 45. This information can be deduced when we read phy id. if the phy id is read without giving any MDIO Manageable Device Address (MMD), then it conforms to clause 22. otherwise it conforms to clause 45. Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
committed by
Joe Hershberger
parent
aff66f22d6
commit
b3eabd82f2
@@ -138,6 +138,7 @@ struct phy_device {
|
||||
int pause;
|
||||
int asym_pause;
|
||||
u32 phy_id;
|
||||
bool is_c45;
|
||||
u32 flags;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user