From: Shaohui Xie Date: Thu, 14 Nov 2013 11:00:31 +0000 (+0800) Subject: phy: introduce structure fixed-link X-Git-Tag: v2025.01-rc5-pxa1908~15580^2~13 X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=f55a776cd03243aa575d3126996f11986e61a16b;p=u-boot.git phy: introduce structure fixed-link fixed-link is used in kernel for PHY-less MAC, so introduce this structure that U-boot can use it to fixup dtb dynamically. Signed-off-by: Shaohui Xie --- diff --git a/include/phy.h b/include/phy.h index f0f522a9c2..f86ffb9207 100644 --- a/include/phy.h +++ b/include/phy.h @@ -160,6 +160,14 @@ struct phy_device { u32 flags; }; +struct fixed_link { + int phy_id; + int duplex; + int link_speed; + int pause; + int asym_pause; +}; + static inline int phy_read(struct phy_device *phydev, int devad, int regnum) { struct mii_dev *bus = phydev->bus;