masayuki2009 commented on code in PR #9026: URL: https://github.com/apache/nuttx/pull/9026#discussion_r1173218874
########## include/nuttx/net/mii.h: ########## @@ -841,6 +845,17 @@ #define MII_DP83848C_FHF_INT_EN (1 << 1) /* Enable Interrupt on False Carrier Counter Register half-full event. */ #define MII_DP83848C_RHF_INT_EN (1 << 0) /* Enable Interrupt on Receive Error Counter Register half-full event. */ +/* Atheros AR8031 MII ID1/2 register bits */ + +#define MII_PHYID1_AR8031 0x004d /* ID1 value for AR8031 */ +#define MII_PHYID2_AR8031 0xd074 /* ID2 value for AR8031 */ + +#define MII_AR8031_PSSR_SPEEDMASK (0x3 << 14) /* Bit 14-15: Speed */ +#define MII_AR8031_PSSR_10MBPS (0x0 << 14) +#define MII_AR8031_PSSR_100MBPS (0x1 << 14) +#define MII_AR8031_PSSR_1000MBPS (0x2 << 14) Review Comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org