Bug 257173 - Import rge(4) from OpenBSD?
Summary: Import rge(4) from OpenBSD?
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL: https://cvsweb.openbsd.org/src/sys/de...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-14 06:44 UTC by Trond Endrestøl
Modified: 2023-10-14 18:18 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trond Endrestøl 2021-07-14 06:44:56 UTC
There is at least one 2.5 Gbit/s NIC already in the source tree, igc(4). Would it be possible to import rge(4) from OpenBSD.
Comment 1 Trond Endrestøl 2021-07-14 07:55:12 UTC
Source for rge(4) can be found in https://cvsweb.openbsd.org/src/sys/dev/pci/.
So far I have identified if_rge.c and if_rgereg.h as being needed.
The driver does depend on MII.
Comment 2 Martin Birgmeier 2023-10-14 18:18:35 UTC
The ASUS Prime X670 WiFi motherboard also seems to need this driver for the built-in 2.5 Gb NIC:

VID/DID: 10ec:8125 (rev 05)
Sub VID/DID: 1043:87d7
https://bsd-hardware.info/?id=pci:10ec-8125-1043-87d7

There is also a "FreeBSD 7.x and 8.0" driver on the Realtek website: https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software

-- Martin