From 840f6b997cb95b44405f431e893aeecd85783814 Mon Sep 17 00:00:00 2001 From: xjy198903 <335266746@qq.com> Date: Wed, 17 Aug 2022 16:28:58 +0800 Subject: [nxp][imxrt1170]Fix building problem (#6297) --- components/drivers/include/drivers/phy.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'components') diff --git a/components/drivers/include/drivers/phy.h b/components/drivers/include/drivers/phy.h index e582a85319..f0b1ce5e1d 100644 --- a/components/drivers/include/drivers/phy.h +++ b/components/drivers/include/drivers/phy.h @@ -1,11 +1,12 @@ /* - * Copyright (c) 2006-2021, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2020-10-14 wangqiang the first version + * 2022-08-17 xjy198903 add 1000M definition */ #ifndef __PHY_H__ @@ -21,6 +22,7 @@ extern "C" /* Defines the PHY link speed. This is align with the speed for MAC. */ #define PHY_SPEED_10M 0U /* PHY 10M speed. */ #define PHY_SPEED_100M 1U /* PHY 100M speed. */ +#define PHY_SPEED_1000M 2U /* PHY 1000M speed. */ /* Defines the PHY link duplex. */ #define PHY_HALF_DUPLEX 0U /* PHY half duplex. */ -- cgit v1.3.1