Skip to content

Add Moscow re0 driver for Realtek onboard Gigabit Ethernet - #178

Merged
notlibrary merged 1 commit into
mainfrom
moscow-realtek-re0
Nov 28, 2026
Merged

notlibrary merged 1 commit into
mainfrom
moscow-realtek-re0

Conversation

@notlibrary

Copy link
Copy Markdown
Owner

Changes

  • Probe onboard and add-in RTL8111H/RTL8168H-family controllers across PCIe buses. The first supported controller appears as re0.
  • Keep PCI configuration and DMA descriptor handling in the NASM runtime. Reuse the USSR Ethernet, DHCP, and IPv4 stack, and report link or address status through net(_):.
  • Keep Intel e1000 as a fallback. Document the supported MAC revisions and hardware test commands.

Verification

  • Built the Moscow ISO. Simulated RX/TX descriptor checks passed, including ring wrap, FCS removal, RX error handling, TX padding, and busy descriptors.
  • QEMU BIOS and UEFI both passed e1000 DHCP and ping with an RTL8139 also present. QEMU does not emulate the supported Realtek controller.
  • ASUS B450 bare-metal link negotiation, DHCP, and packet transfer are pending.

@notlibrary
notlibrary merged commit a82f0a6 into main Nov 28, 2026
1 check passed
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