24120 Commits

Author SHA1 Message Date
Lexi Winter 8a8f2ebd2d ncurses: Move termcap and tabset to ncurses-lib
termcap and tabset are currently in runtime, but since ncurses is the
only thing which uses them, they belong in the ncurses package.

curses without termcap is not very useful, so put them in the -lib
subpackage rather than ncurses itself, so that installing ncurses-lib
provides a working curses.

This change moves files between packages so, until we have a proper
policy on how to handle this in release/stable branches, it should
not be MFC'd.

MFC after:	never
Discussed with:	kevans
Reviewed by:	manu, kevans
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53610
2025-11-06 15:20:52 +00:00
Jiacong Fang 744c8d5544 mpr.4: Add Broadcom LSI 3808 to HARDWARE
The product brief "MegaRAID 9500 PCIe Gen 4.0 Tri-Mode Storage Adapters"
confirms that the LSI 3808 are supported in FreeBSD.

https://docs.broadcom.com/doc/MegaRAID-9500-Tri-Mode-Storage-Adapters

MFC after:		3 days
Reviewed by:		imp, ziaee
Differential Revision:	https://reviews.freebsd.org/D52760
2025-11-05 23:01:34 -05:00
Alexander Ziaee f30335c5cb ice.4: Add ToC and E835 and editorial pass
This manual is large enough and well structured enough that we can have
a clickable table of contents. Use that to move some subsections which
should not appear in Hardware Release Note to the description section.
Adjust subsection names so this will work, preserving parentheticals
for search by moving them to the bodies just below.

Strip unnecessary copyright symbols and escaped hyphens. Copyright
symbols never appear in the content of manual pages, including other
Intel manual pages, and appear to break the Hardware Release Notes.
Escaped hyphens were necessary decades ago for manual pages written
in man(7), but this page is written in mdoc(7). Also misc touchups.

Add the recently added E835 devices to the supported HARDWARE list.
Add the speed ranges to description like the other ethernet drivers.

PR:		290778
MFC after:      1 day
Fixes:		09b48f811b (Add support for E835-XXV-4 adapter)
Fixes:		b202176dc7 (Add PCI IDs for E835 devices)
Reviewed by:	kgalazka (previous version)
Reported by:	kgalazka (additional hardware has been added)
Reported by:	bigsneaky@duck.com (HW Relnote is truncating)
2025-11-05 17:39:15 -05:00
Kyle Evans 90314c04f1 makedev(9): drop an additional note about cdevpriv dtors
These were previously somewhat safe to call destroy_dev(9), but will now
also cause a deadlock in the same fashion that d_close doing so would
previously.  Amend the note to point it out, in case it's useful for
someone.

Reviewed by:	imp, kib, markj
Differential Revision:	https://reviews.freebsd.org/D53439
2025-11-04 18:28:02 -06:00
Mateusz Piotrowski 3ccb2d9513 dtrace_callout_execute.4: Document the DTrace callout_execute provider
MFC after:	2 weeks
Fixes:		91dd9aae1a Add explicit static DTrace tracing to the callout mechanism
Differential Revision:	https://reviews.freebsd.org/D51397
2025-11-04 12:10:55 +01:00
Mateusz Piotrowski fc7f5452c6 buf.9: Sprinkle with mdoc macros
I did not bump the date here as the manual page looks more like a draft
and I'm not sure if it is actually up-to-date considering that it's
current Dd dates back to 1998.

MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D52770
2025-11-04 12:05:28 +01:00
Kristof Provost cd7f3e4d9e pf.conf.5: add nat-to/rdr-to to BNF
PR:		290705
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-11-03 17:06:10 +01:00
Mateusz Piotrowski 2020e76450 dtrace_vfs.4: Document the DTrace vfs provider
Reviewed by:	bcr
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D51317
2025-11-03 16:54:11 +01:00
Konstantin Belousov 269b1c2388 atomic.9: provide fine details about CAS memory model MD semantic
Reviewed by:	markj
Discussed with:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D52744
2025-11-02 23:22:08 +02:00
Konstantin Belousov f26382dd72 atomic.9: fix description of acquire and release
The ordering point is not the atomic operation itself, but the load for
acquire or store for release done as part of the atomic.  This does not
matter for atomic_load_acq and atomic_store_rel, but does matter for RWM
operations.

Noted by:	alc
Reviewed by:	markj
Discussed with:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D52744
2025-11-02 23:22:08 +02:00
Mateusz Piotrowski af99c4c1d0 d.7: Document strchr, strjoin, strrchr, strstr, strtok, strlen, and substr
Reviewed by:	markj
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D53417
2025-11-02 20:21:30 +01:00
Ed Maste e4f2a35095 bsd.prog.mk: Skip warnings if compiler.mk was not included
We emit a warning if src.conf options WITH_RETPOLINE or INIT_ALL are
in use, and the compiler or linker does not support the feature.

For targets like `cleandir` we skip including bsd.compiler.mk, which
leaves COMPILER_FEATURES unset and spurious warnings were emitted in
early buildworld stages, if these options are in use.

Commit 0837b2ebd5 ("pkg: Die if make -V BRANCH fails") added -W to
usr.sbin/pkg's make flags, causing it to exit on warnings.  As a result
buildworld failed when these src.conf options were in use.

Clean this up by omitting the warning if the magic
_NO_INCLUDE_COMPILERMK flag is set, which indicates that
COMPILER_FEATURES is not set.

Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53501
2025-10-31 21:17:11 -04:00
Sergey A. Osokin c6e02892bb bsd-family-tree: add macOS 26
Sponsored by:	tipi.work
2025-10-31 16:25:11 -04:00
Michael Tuexen 9aa5a79e2a ddb: optionally print inp when printing tcpcb
Add /i option to the ddb commands show tcpcb and show all tcpcbs,
which enables the printing of the t_inpcb.

Reviewed by:		markj
MFC after:		3 days
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D53497
2025-10-31 14:05:02 -04:00
Warner Losh d787ce1927 u3g: Note support for Quectel EM060K and Sierra EM7590
Sponsored by:		Netflix
2025-10-31 10:54:13 -06:00
Mateusz Piotrowski db25448ab9 dtrace_io.4: Use bio_length instead of bio_bcount in examples
Tracing bio_bcount makes little sense for some devices like for example
md(4), as it is set to "0" instead of to the actual I/O length.

markj@ suggested the following DTrace one-liner to identify some cases
where bio_length is set but bio_bcount is not:

    dtrace -n 'io:::start /args[0]->bio_length != args[0]->bio_bcount/{printf("%d %d", args[0]->bio_length, args[0]->bio_bcount); stack();}'

For future reference in the context of bio_length vs bio_bcount,
phk@ mentioned in the code review that:

> the original intent was to get rid of of bio_bcount

Reviewed by:	markj
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D53365
2025-10-31 16:52:20 +01:00
Robert Clausecker d6870bb941 simd.7: document bcopy() and bzero() as accelerated on riscv64
Event:		Google Summer of Code 2024
MFC after:	1 month
MFC to:		stable/15
Approved by:	markj (mentor)
Differential Revision:	https://reviews.freebsd.org/D53248
2025-10-31 13:48:01 +01:00
Strahinja Stanišić 39fef5b9fa simd.7: add scalar strchrnul() for RISC-V to manpage
index() and strchr() are implemented by calling strchrnul(), so they
also get to be marked as platform-specific.

MFC after:	1 month
MFC to:		stable/15
Approved by:	markj (mentor)
Reviewed by:	fuz
Sponsored by:	Google LLC (GSoC 2024)
Differential Revision:	https://reviews.freebsd.org/D46047
2025-10-31 13:48:00 +01:00
Strahinja Stanišić 474a80d3ff simd.7: add scalar strnlen() for RISC-V to manpage
MFC after:	1 month
MFC to:		stable/15
Approved by:    mhorne, markj (mentor)
Reviewed by:    fuz, Jari Sihvola <jsihv@gmx.com>
Sponsored by:   Google LLC (GSoC 2024)
Differential Revision:  https://reviews.freebsd.org/D46230
2025-10-31 13:48:00 +01:00
Strahinja Stanišić c80dfcb372 simd.7: add scalar memcpy() for RISC-V to manpage
MFC after:	1 month
MFC to:		stable/15
Approved by:	mhorne, markj (mentor)
Reviewed by:	fuz
Sponsored by:	Google LLC (GSoC 2024)
Differential Revision:	https://reviews.freebsd.org/D46139
2025-10-31 13:47:59 +01:00
Strahinja Stanišić 07b1d5a377 simd.7: add scalar strlen() for RISC-V to manpage
MFC after:	1 month
MFC to:		stable/15
Approved by:	mhorne, markj (mentor)
Reviewed by:	fuz
Sponsored by:	Google LLC (GSoC 2024)
Differential Revision:	https://reviews.freebsd.org/D45693
2025-10-31 13:47:59 +01:00
Strahinja Stanišić 164156058e simd.7: add scalar memset() for RISC-V to manpage
MFC after:	1 month
MFC to:		stable/15
Approved by:	mhorne, markj (mentor)
Reviewed by:	fuz
Sponsored by:	Google LLC (GSoC 2024)
Differential Revision:	https://reviews.freebsd.org/D45730
2025-10-31 13:47:58 +01:00
Strahinja Stanišić d2c23f5953 simd.7: add scalar memchr() for RISC-V to manpage
MFC after:	1 month
MFC to:		stable/15
Approved by:	mhorne, markj (mentor)
Sponsored by:	Google LLC (GSoC 2024)
Differential Revision:	https://reviews.freebsd.org/D46023
2025-10-31 13:47:58 +01:00
Strahinja Stanišić 63ff982b17 simd.7: add scalar strrchr() for RISC-V to manpage
MFC after:	1 month
MFC to:		stable/15
Approved by:	mhorne, markj (mentor)
Sponsored by:	Google LLC (GSoC 2024)
Differential Revision:  https://reviews.freebsd.org/D47275
2025-10-31 13:47:57 +01:00
John Baldwin 7eb213614b bus_alloc_resource: First step in passing resource IDs by value
Add wrapper inline functions for bus_alloc_resource* that accept a
resource ID by value (instead of a pointer).  The rest of the bus
resource API (outside of compat shims) does not accept resource IDs as
arguments, but instead obtains the resource ID from the resource
itself when needed.  As such, there is no reason to return any
potentially modified resource IDs to the caller.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D53401
2025-10-30 11:19:01 -04:00
Ahmad Khalifa 9b9c726df1 bus_attach_children.9: fix typo
s/DEVICE_ATTACH/DEVICE_DETACH

Reviewed by:	ziaee
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D53449
2025-10-30 16:20:28 +03:00
David E. O'Brien 237cc7b408 style.Makefile: document the style for lists
Reviewed by:	sjg
Differential Revision:	https://reviews.freebsd.org/D53429
2025-10-29 20:41:59 -07:00
David E. O'Brien 4b6700f345 Document the DEPRECATION NOTICE section for kernel interfaces 2025-10-28 23:51:26 -07:00
David E. O'Brien 88a53301e1 padlock.4: only install on i386 2025-10-28 17:26:00 -07:00
David E. O'Brien a38a42ed9a random: remove hifn(4)
Fixes:	685a78
2025-10-28 17:16:08 -07:00
David E. O'Brien 685a78570b random: remove hifn(4)
The Hifn 7955 & 7956 only supports deprecated & NIST disallowed
algorithms (NIST SP800-224idp): SHA1 and SHA1-HMAC.

Furthermore the entropy RNG of the Hifn 7751, 7951, 7811, 7955,
and 7956 has no NIST Entropy Source Validation (ESV) certificate
and cannot be used in a FIPS-140-3 nor Common Criteara environment.

Furthermore the most prolific instance for FreeBSD was the
Soekris Engineering vpn1201, vpn1211, vpn1401, and vpn1411
offerings.  These are all 32-bit only processors.  The i386
kernel was de-supported in 15.0.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D53182
2025-10-28 16:46:15 -07:00
Mateusz Piotrowski 38b81fbb9c d.7: Order user-defined variable types by scope
MFC after:	3 days
2025-10-28 21:32:26 +01:00
Mateusz Piotrowski b2c5686755 tuning.7 stats.7: Cross-reference
MFC after:	3 days
2025-10-28 19:00:07 +01:00
Ed Maste 0cd8754ad5 upgt.4: bump removal to 16.0
It was not actually removed prior to FreeBSD 15.0.

Sponsored by:	The FreeBSD Foundation
2025-10-28 08:35:00 -04:00
Ed Maste cadadd1a03 agp.4: Bump deprecation to 16.0
It was not actually removed prior to FreeBSD 15.0.

Sponsored by:	The FreeBSD Foundation
2025-10-28 08:34:46 -04:00
Mateusz Piotrowski 24a6e040fc insmntque.9: Refer to vnode operations vector correctly
The comment in sys/vnode.h describes
the v_op member as "vnode operations vector",
so use "operations" instead of "operation" here.

Reviewed by:	bcr
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D53333
2025-10-28 13:29:37 +01:00
Baptiste Daroussin e5f545e0d8 pci_vendors: update to 2025-10-18 2025-10-28 09:31:46 +01:00
Baptiste Daroussin 90cd623611 usb_vendors: update to 2025-09-15 2025-10-28 09:31:02 +01:00
Gleb Smirnoff 3bcd7d4fa4 gone_in(9): bring the manual page up to date
Fixes:	01addd846c
2025-10-27 11:51:04 -07:00
Gordon Bergling 3b79697040 vn_fullpath.9: Fix two typos in the manual page
- s/resulting/resulting/
- s/initally/initially/

MFC after:	5 days
2025-10-27 07:27:28 +01:00
Gordon Bergling 8eedabfe9a style.9: Fix two typos in the manual page
- s/signficant/significant/
- s/protoypes/prototypes/

MFC after:	5 days
2025-10-27 07:27:28 +01:00
Gordon Bergling fe45f7ddb5 seqc.9: Fix a typo in the manual page
- s/changees/changes/

MFC after:	5 days
2025-10-27 07:27:28 +01:00
Gordon Bergling 40fae644ba refcount.9: Fix a typo in the manual page
- s/sucessfully/successfully/

MFC after:	5 days
2025-10-27 07:27:28 +01:00
Gordon Bergling a859a5c697 pci.9: Fix a typo in the manual page
- s/maxmimum/maximum/

MFC after:	5 days
2025-10-27 07:27:27 +01:00
Gordon Bergling b1f96b1c4c ofw_bus_is_compatible.9: Fix a typo in the manual page
- s/compatibile/compatible/

MFC after:	5 days
2025-10-27 07:27:27 +01:00
Gordon Bergling 005603cd3d nvmem.9: Fix multiple typos in the manual page
- s/sucess/success/

MFC after:	5 days
2025-10-27 07:27:27 +01:00
Gordon Bergling 73a78c2dc9 ifnet.9: Fix a typo in the manual page
- s/addess/address/

MFC after:	5 days
2025-10-27 07:27:27 +01:00
Gordon Bergling 576e735efb gone_in.9: Fix a typo in the manual page
- s/Initializaiton/Initialization/

MFC after:	5 days
2025-10-27 07:27:27 +01:00
Gordon Bergling 187a0a85e1 g_geom.9: Fix a typo in the manual page
- s/strng/string/

MFC after:	5 days
2025-10-27 07:27:27 +01:00
Gordon Bergling 1a28455cb5 efirt.9: Fix a typo in the manual page
- s/retireved/retrieved/

MFC after:	5 days
2025-10-27 07:27:27 +01:00