Skip to content

fix(W5500): correct PHYCFGR OPMDC macro name and handle ALLA case - #185

Open
R0xyLee wants to merge 1 commit into
Wiznet:masterfrom
R0xyLee:master
Open

fix(W5500): correct PHYCFGR OPMDC macro name and handle ALLA case#185
R0xyLee wants to merge 1 commit into
Wiznet:masterfrom
R0xyLee:master

Conversation

@R0xyLee

@R0xyLee R0xyLee commented Aug 12, 2026

Copy link
Copy Markdown

Rename PHYCFGR_OPMDC_100FA to PHYCFGR_OPMDC_100HA (100BT Half-duplex Auto) to match the W5500 datasheet naming. Update all references in wizphy_getphyconf() accordingly.

Also add PHYCFGR_OPMDC_ALLA as a case in the speed and duplex switches so that 'all auto' mode is correctly reported as 100Mbps/full-duplex, matching what the PHY would negotiate.

Rename PHYCFGR_OPMDC_100FA to PHYCFGR_OPMDC_100HA (100BT Half-duplex
Auto) to match the W5500 datasheet naming. Update all references in
wizphy_getphyconf() accordingly.

Also add PHYCFGR_OPMDC_ALLA as a case in the speed and duplex switches
so that 'all auto' mode is correctly reported as 100Mbps/full-duplex,
matching what the PHY would negotiate.

Signed-off-by: R0xy <lee.lockhey@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant