Merge pull request #489 from DrDoof/feat/port-media-pause

port: report link role and negotiated pause per port
This commit is contained in:
feelfree69 authored and GitHub committed 2026-09-23 14:59:35 +02:00
commit d3dda09079
4 files changed
+40

No files matched your search

+4
View File
@@ -83,6 +83,10 @@
#define RTL837X_REG_LINKS 0x63f0
#define RTL837X_REG_LINKS_89 0x63f4
#define RTL837X_REG_LINKS_STS 0x63E8
/* Per-port status bits: bit N is chip port N */
#define RTL837X_MAC_TX_PAUSE_STS 0x63FC
#define RTL837X_MAC_RX_PAUSE_STS 0x6400
#define RTL837X_MAC_MSTR_SLV_STS 0x6408
/* Each nibble encodes the link state of a port.
Port 0 appears to be the CPU port