diff options
author | Samuel Mendoza-Jonas | 2022-08-08 21:46:03 +0930 |
---|---|---|
committer | Tom Rini | 2022-10-21 16:04:39 -0400 |
commit | 09bd3d0b0a954f250bac61fee7e3c6d037914569 (patch) | |
tree | 4f85b9e67aa28ad4505b3cd0a6191a1dcc29281d /include/phy.h | |
parent | 7723828c97bc107d2fba976fc50403ac8747f1bc (diff) |
net: NC-SI setup and handling
Add the handling of NC-SI ethernet frames, and add a check at the start
of net_loop() to configure NC-SI before starting other network commands.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'include/phy.h')
-rw-r--r-- | include/phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h index ad2096ca84f..0737c4e8f9a 100644 --- a/include/phy.h +++ b/include/phy.h @@ -412,6 +412,8 @@ static inline bool phy_interface_is_sgmii(struct phy_device *phydev) phydev->interface <= PHY_INTERFACE_MODE_QSGMII; } +bool phy_interface_is_ncsi(void); + /* PHY UIDs for various PHYs that are referenced in external code */ #define PHY_UID_CS4340 0x13e51002 #define PHY_UID_CS4223 0x03e57003 |