Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src



Module Name:    src
Committed By:   martin
Date:           Mon Nov 24 17:32:48 UTC 2025

Modified Files:
        src/share/man/man4 [netbsd-11]: rge.4
        src/sys/dev/pci [netbsd-11]: if_rge.c if_rgereg.h

Log Message:
Pull up following revision(s) (requested by pgoyette in ticket #106):

        sys/arch/amd64/conf/XEN3_DOM0: revision 1.206
        sys/arch/amd64/conf/XEN3_DOM0: revision 1.207
        sys/dev/pci/if_rge.c: revision 1.35
        sys/dev/pci/if_rge.c: revision 1.36
        share/man/man4/rge.4: revision 1.10
        sys/dev/pci/if_rge.c: revision 1.37
        sys/dev/pci/if_rge.c: revision 1.38
        sys/dev/pci/if_rge.c: revision 1.39
        share/man/man4/sem.4: revision 1.7
        share/man/man4/sem.4: revision 1.8
        sys/arch/amd64/conf/GENERIC: revision 1.620
        sys/dev/pci/pcidevs.h: revision 1.1511
        sys/arch/amd64/conf/ALL: revision 1.195
        sys/arch/amd64/conf/ALL: revision 1.196
        sys/dev/pci/pcidevs: revision 1.1532
        sys/dev/pci/if_rge.c: revision 1.40
        sys/dev/pci/if_rge.c: revision 1.41
        sys/dev/pci/if_rge.c: revision 1.42
        sys/dev/pci/pcidevs_data.h: revision 1.1510
        sys/dev/pci/if_rge.c: revision 1.43
        sys/dev/pci/if_rge.c: revision 1.44
        sys/dev/pci/if_rge.c: revision 1.45
        sys/dev/pci/if_rgereg.h: revision 1.10
        sys/dev/pci/if_rge.c: revision 1.46
        share/man/man4/rge.4: revision 1.6
        sys/dev/pci/if_rgereg.h: revision 1.11
        share/man/man4/rge.4: revision 1.7
        sys/dev/pci/if_rgereg.h: revision 1.12
        share/man/man4/rge.4: revision 1.8
        sys/dev/pci/if_rgereg.h: revision 1.13
        share/man/man4/rge.4: revision 1.9
        sys/dev/pci/if_rgereg.h: revision 1.14
        sys/arch/amd64/conf/GENERIC: revision 1.619
        sys/dev/pci/if_rgereg.h: revision 1.15
        sys/dev/pci/if_rgereg.h: revision 1.16
        sys/dev/pci/if_rgereg.h: revision 1.17

Add MODULE glue

Add Realtek 8126 to comment for rge*

Recognize the RT8126 Rev B.
XXX Assume for now that it works the same as Rev A.  Neither
XXX Free- nor OpenBSD give any clues on Rev B details.

Clean up interrupt handling and add rge_detach().

Disable recognition of 8126-B until we know more about how
to drive it.

We only suppoprt the MAC_CFG2_8126 (hwrev 0x649000000).  Disable the
others.

Based on driver code from Realtek, all three of these are "8126A"
models ...

Update RTL8125 microcode.
>From openbsd, if_rge.c rev 1.13, if_rgereg.h rev 1.7

Update microcode, initialization and reset behavior.  From
OpenBSD, if_rge.c rev 1.23 and if_rgereg.h rev 1.10.
XXX In the same commit, two chip variants were de-supported,
     with an expectation that those two variants were never
     shipped in any product.  It's not clear that this is
     true, so I did NOT remove support for them.

Undo recent changes since they seem to have broken something.
Will reexamine moving forward from last time we synched with
OpenBSD - January 20, 2021

One more attempt to revert

Clean up interrupt handling and add rge_detach().
Originally introduced in rev 1.37

Add Realtek 8127

Update rge* comment to include soon-to-arrive preliminary support
for RTL8127

Update for RTL8127

Revert accidental commit

Note 8127 support as experimental

Sync with OpenBSD.  Don't list chip variations, only list the chips.
Update adapter list to include 8126

Synch with upstream (OpenBSD) head as of today.  Tested by various
people (thanks!) on various chips/models.
XXX Still has no support for Jumbo frames, and no support for any
     checksum or segmentation off-loads, same restrictions as on
     upstream...

Clean up mbuf list management.  Missed during merge/synch from OpenBSD.

Enable checksum offload for ipv4
Should be enough to satisfy PR kern/59724.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.2.1 src/share/man/man4/rge.4
cvs rdiff -u -r1.34 -r1.34.2.1 src/sys/dev/pci/if_rge.c
cvs rdiff -u -r1.9 -r1.9.2.1 src/sys/dev/pci/if_rgereg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index