lwIP | Add GRETH/GRETH_GBIT driver (!40)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Apr 30 18:30:07 UTC 2026




Kinsey Moore commented on a discussion on rtemslwip/greth/include/greth_phy.h: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149333

 > +#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                                  \
 > +              */

I'm surprised that it would add a line break like that. It doesn't even reach 80col.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149333
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/585ee0b4/attachment-0001.htm>


More information about the bugs mailing list