lwIP | Add GRETH/GRETH_GBIT driver (!40)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Apr 30 16:39:59 UTC 2026
Kinsey Moore started a new discussion on rtemslwip/greth/include/greth_phy.h: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149317
> +#define GRETH_PHY_EXT_STS_1000T_FD_BIT 13
> +#define GRETH_PHY_EXT_STS_1000T_HD_BIT 12
> +
> +#define GRETH_PHY_EXT_STS_1000X_FD ( 1 << GRETH_PHY_EXT_STS_1000X_FD_BIT )
> +#define GRETH_PHY_EXT_STS_1000X_HD ( 1 << GRETH_PHY_EXT_STS_1000X_HD_BIT )
> +#define GRETH_PHY_EXT_STS_1000T_FD ( 1 << GRETH_PHY_EXT_STS_1000T_FD_BIT )
> +#define GRETH_PHY_EXT_STS_1000T_HD ( 1 << GRETH_PHY_EXT_STS_1000T_HD_BIT )
> +
> /* MII registers */
> -#define GRETH_MII_EXTADV_1000FD 0x00000200 /**< 1000 Mbps FD adv capability */
> -#define GRETH_MII_EXTADV_1000HD 0x00000100 /**< 1000 Mbps HD adv capability */
> -#define GRETH_MII_EXTPRT_1000FD 0x00000800 /**< 1000 Mbps FD partner ability */
> -#define GRETH_MII_EXTPRT_1000HD 0x00000400 /**< 1000 Mbps HD partner ability */
> +#define GRETH_MII_EXTADV_1000FD \
> + 0x00000200 /**< 1000 Mbps FD adv capability \
> + */
The trailing formatting on these is odd.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149317
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260430/915d27ed/attachment-0001.htm>
More information about the bugs
mailing list