Mono Gateway (NXP LS1046A) fork of OPNsense src: DPAA/LS1046A kernel support, rebased on upstream release tags
Find a file
Kevin Bowling fb68099015 e1000: Handle I354 internal memory errors
The Atom C2000 integrated GbE programming reference documents the I354
internal memory error architecture.  It shares the I350 PEIND and
ICR.FER routing, DMA and packet-buffer status, LAN parity status, and
required reset recovery.

Extend the existing I350 recovery and corrected error accounting paths
to I354.  Keep the PCIe corrected error mask family-specific.  C2000
PCIEECCSTS ends at the transmit write-data indication in bit 4 and does
not implement the I350 retry buffer indication in bit 5.  Do not expose
the corresponding retry counter on I354.

The PRM overview says a PCIe region failure requires a system reboot,
while the individual PCIEERRSTS fields prescribe CTRL.RST followed by
port reinitialization.  Use the register specific recovery, matching the
existing I350 path; failed reinitialization still leaves the port down.

This follows sections 5.6 and 6.21 of the Intel Atom Processor C2000
Product Family Integrated GbE Controller Programmer's Reference Manual,
document 537426 revision 1.5.

Sponsored by:	BBOX.io

(cherry picked from commit 5b4a7fd9378abba882a87330af31351c6353aea7)
2026-09-13 13:49:21 +02:00
.cirrus-ci
.github/ISSUE_TEMPLATE github: sync our template 2026-06-19 09:47:29 +02:00
bin date: Include old and new time in audit log (#221) 2026-06-19 09:47:29 +02:00
cddl ctfmerge: fix segfault when building on macOS 2025-12-15 14:22:54 -08:00
contrib kyua-debug: Add -P option 2026-08-11 07:51:57 +02:00
crypto openssl: Fix multiple vulnerabilities 2026-08-26 10:16:51 +02:00
etc wg(4): Add a test that the driver handles a decryption failure 2026-08-11 07:43:58 +02:00
gnu diff3: Move to own package 2025-10-03 09:52:43 -07:00
include include/stdbit.h: declare size_t, (u)int*_t, and (u)int_least*_t 2026-04-27 02:29:49 +02:00
kerberos5 heimdal-kadmin: Add support for the -f dump option 2025-10-07 18:47:21 -07:00
krb5 krb5: Adjust additional version strings 2026-05-14 12:04:18 -07:00
lib libpfctl: fix tstats address count 2026-08-27 12:52:38 +02:00
libexec tty: patch in 3wire autologin support 2026-06-19 09:47:29 +02:00
release Switch from "quarterly" to "release" pkgs on DVD 2026-05-21 16:01:50 -07:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin pfctl: fix printing of wildcard anchors 2026-09-11 09:40:55 +02:00
secure crypto/openssl: update artifacts to match 3.5.7 release 2026-07-06 11:08:04 +02:00
share iflib: Add an admin task detach fail point 2026-09-11 10:55:55 +02:00
stand stand: add EFI support for mmio serial consoles 2026-06-25 11:18:46 +02:00
sys e1000: Handle I354 internal memory errors 2026-09-13 13:49:21 +02:00
targets blocklist: Rename blacklist to blocklist 2025-10-14 00:53:16 +00:00
tests pfctl: fix printing of wildcard anchors 2026-09-11 09:40:55 +02:00
tools makeman.lua: Downgrade make showconfig error to warning 2026-04-30 12:27:55 -04:00
usr.bin etc: OPNsense customisations 2026-06-19 09:46:54 +02:00
usr.sbin bsdinstall: add a hardening knob for unprivileged kenv access 2026-09-11 09:41:26 +02:00
.arcconfig
.arclint
.cirrus.yml Cirrus-CI: Switch back to tzst packages, but use level 1 2025-10-14 20:47:10 -04:00
.clang-format clang-format: adjust to sort C++ headers per style(9) 2026-02-21 19:44:24 -08:00
.clean_build_epoch build: introduce the notion of a build epoch 2025-08-14 23:43:42 -05:00
.git-blame-ignore-revs git-blame-ignore-revs: witness white space cleanup and style(9) tweeks 2025-08-29 18:01:43 +08:00
.gitattributes
.gitignore .gitignore: ignore additional unwanted files 2026-04-25 09:31:43 -07:00
.mailmap mailmap: Add Joyu Liao 2025-06-26 14:13:21 +02:00
CONTRIBUTING.md CONTRIBUTING: Tweak the language 2025-08-08 11:16:13 -06:00
COPYRIGHT copyright: Happy New Year 2025 2025-01-01 00:04:28 +00:00
LOCKS
MAINTAINERS capsicum-test: Move out of contrib 2026-02-06 11:15:09 -05:00
Makefile universe: Bump default GCC version to 15 2026-04-24 11:32:34 -04:00
Makefile.inc1 Make "make update-packages" idempotent 2026-05-14 12:04:52 -07:00
Makefile.libcompat Makefile.libcompat: Use same PATH for _lc_build-tools as _build-tools 2025-08-22 21:46:15 +01:00
Makefile.sys.inc
ObsoleteFiles.inc mtree: Remove unused MANSUBDIRs 2026-05-21 15:00:23 -07:00
README.md README: Update and harmonize 2026-04-25 17:11:25 +00:00
RELNOTES RELNOTES: Add entry for 0c370a416b 2026-02-12 12:47:53 -07:00
UPDATING Add UPDATING entries and bump version 2026-08-26 10:16:59 +02:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

For official FreeBSD bootable images, see the release page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Source code for third-party software under the Common Development and Distribution License.
contrib Source code for third-party software.
crypto Source code for cryptographic libraries and commands (see crypto/README).
etc Template files for /etc.
gnu Source code for third-party software under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Build system for Kerberos 5 (Heimdal).
krb5 Build system for Kerberos 5 (MIT).
lib System libraries.
libexec System commands intended to be executed by other commands or daemons.
release Makefiles and scripts used for building releases and VM images.
rescue Build system for statically linked /rescue commands.
sbin System commands.
secure Build system for cryptographic libraries and commands (excluding Kerberos).
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Tests which can be run by Kyua. See tests/README for additional information.
tools Ancillary utilities and tests (not included in the build).
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.