24495 Commits
Author SHA1 Message Date
Mir Saheb Ali 2c38dc04d6 rtwn: add support for the RTL8188FTV USB chipset
Add support for the RTL8188FTV chipset to rtwn(4)/rtwn_usb(4).

Differential Revision: https://reviews.freebsd.org/D60875
2026-10-27 19:57:07 -07:00
Wolfram Schneider 13d222bd83 manpages: Fix unusual Xr order 2026-10-26 10:53:02 +00:00
Wolfram Schneider 029466808f manpages: Fix unusual Xr order 2026-10-26 10:46:28 +00:00
Wolfram Schneider fb4f233466 manpages: Fix unusual Xr order 2026-10-26 10:44:08 +00:00
Wolfram Schneider 2ba2623414 manpages: Fix unusual Xr order 2026-10-26 10:41:28 +00:00
Enji Cooper a3214d4e9b share/mk/bsd.confs.mk: fix trivial typo in message
The error message noting that the file should not be included said
"bsd.conf.mk" before this change. Now it correctly says "bsd.confs.mk".

MFC after:	3 days
2026-10-24 19:57:19 -07:00
Seth Hoffert 86a925f538 ptnet.4: Fix typo
MFC after:	3 days
Reviewed by:	ziaee
Signed-off-by:	Seth Hoffert <[email protected]>
Closes:		https://github.com/freebsd/freebsd-src/pull/2480
2026-10-23 14:19:42 -04:00
Pouria Mousavizadeh Tehrani 3200a27427 sctp: Allow to ignore iface type when determining address scope
Scope restriction by loopback interface was not specified in
the draft-stewart-tsvwg-sctp-ipv4 draft and having global address
on loopback interface is common.
Therefore, allow to skip loopback interface type check in sctp.

Reviewed by:	tuexen
Differential Revision:	https://reviews.freebsd.org/D60938
2026-10-22 18:43:42 +03:30
Vladimir Grebenshchikov 44961edac8 termios.4: clarify the behavior on the last close of controlling terminal
Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D60701
2026-10-20 20:38:09 +03:00
Wolfram Schneider d3bad289df bsd-family-tree: polish grammar and style
Reviewed by:	ziaee
2026-10-20 07:41:17 +00:00
Sergey A. Osokin 97b9e96a7f bsd-family-tree: add OpenBSD 8.0 2026-10-19 21:16:44 -04:00
Alexander Ziaee 067c6da5ce ossl.4: Canonicalize HARDWARE and add powerpc64
This driver now supports powerpc64, so add that to the list of supported
hardware. Further, rewrite that list into the canonical HARDWARE section
for inclusion in the FreeBSD 16.0 Hardware Release Note.

markj notes that it would be useful to list the CPU features required
for this driver to be usable on these platforms. ngie notes that this
would be good as a table.

Fixes:	5daf8ed625 ("Add GCM support on powerpc64/powerpc64le")
MFC after:		the above was scheduled to but has not mfc yet
Reviewed by:		ngie
Differential Revision:	https://reviews.freebsd.org/D59770
2026-10-19 16:02:05 -04:00
Alexander Ziaee 36804775d3 armv8crypto: Canonicalize document description
MFC after:		3 days
Reported by:		fuz
Reviewed by:		fuz
Differential Revision:	https://reviews.freebsd.org/D59730
2026-10-19 16:02:05 -04:00
Alexander Ziaee d2df0d4eb5 networking.7: Scope netif to wlan0
I recently learned that you can restart just wlan0 instead of the entire
netif, which will save you when doing on-device networking like bhyve,
or activting wlan0 when it is booted parked via rc.conf's NOAUTO.

MFC after:		3 days
Reviewed by:		bz, bcr
Discussed with:		emaste
Differential Revision:	https://reviews.freebsd.org/D59586
2026-10-19 16:02:05 -04:00
Goran Mekić d3aa926bff sound examples: trigger dsp devices via syncgroup
Triggering is only needed if device is in mmap mode, and in mmap example
the device is triggered as part of syncgroup. For non-mmap mode,
triggering is not needed at all. Triggering mmap'ed device too early
would start the IPTR/OPTR counters and that would cause those pointers
to be out of sync, so let syncgroup do the triggering once the device is
fully configured and ready for capture and playback.

MFC after:	1 week
Reviewed by:	christos
Differential Revision:	https://reviews.freebsd.org/D60839
2026-10-19 10:59:36 +02:00
Ed Maste d5612784ab Revert "umb: Update man page HISTORY"
Oops, pushed in error from a staging branch.

This reverts commit ed79730624.
2026-10-15 13:59:44 -04:00
Li-Wen Hsu 98b7f63c45 man4: Install mgb.4 on all architectures
mgb(4) is not x86-only now, so install its manpage everywhere and make
if_mgb.4 link creation work, which is already on all architectures.

Sponsored by:	The FreeBSD Foundation
2026-10-16 01:58:26 +08:00
Ed Maste ed79730624 umb: Update man page HISTORY
It was merged to stable/14 prior to FreeBSD 14.4.
2026-10-15 13:55:47 -04:00
Abdelkader Boudih d7d237ce73 acpi_apple: Apple platform ACPI driver,
handles wake-on-LAN arming and lid state on the PCH
PMC/GMUX platform instance, and panel backlight
control on the PNLF instance, registering with
backlight(9).

Reviewed by:	ziaee, adrian
Differential Revision:	https://reviews.freebsd.org/D58867
2026-10-15 14:03:22 +01:00
Ed Maste 4a65e12dfb dict: Add "macho"
Macho is a perfectly cromulent word, in both Merriam-Webster and OED.

Reviewed by:	imp
Differential Revision: https://reviews.freebsd.org/D60713
2026-10-13 19:49:58 -04:00
Michael Johnson b6a34e8365 committers-ports.dot: Restore ahze from alumni
Move back to the current committers section and record acm and dtxdf
as mentors.

Approved by:	dtxdf (mentor)
Differential Revision:	https://reviews.freebsd.org/D60683
2026-10-13 15:32:32 -04:00
Ed Maste b80af977f1 mgb: Build module for all archs
It is not x86-specific.

This reverts commit e0a5aa37c1.
This reverts commit 2d935a1e93.

Reviewed by:	kbowling
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60615
2026-10-13 12:51:05 -04:00
Ryan Moeller 8fdf03cd36 committers-src: Add rmoeller mentored by kevans@
And note the commit bit return date of my previous account, freqlabs@.

Approved by:	kevans (mentor)
2026-10-13 12:33:33 -04:00
Xin LI 3ceb5f150b termcap: add missing capabilities to the xterm-ghostty entry
The entry was imported from the termcap source that Ghostty generates
with infotocap during its build.  To fit within 1023 bytes, the
conversion dropped a number of capabilities, most notably all color
support, so termcap consumers such as ls -G and ncurses applications
treated Ghostty as a monochrome terminal.

Split the entry into xterm-ghostty and a ghostty+common fragment, and
restore the following from Ghostty's terminfo definition:

 - colors: Co, pa, AF, AB, op, oc, ut, AX
 - keys: End, keypad Enter, F10-F12, back tab, mouse prefix
 - attributes: italics (ZH/ZR), invisible (mk), acsc map (ac)
 - misc: cb, ch, cv, SA/RA, r1, bs, NP, 5i

AF and AB use the plain 256-color form, like xterm-256color, because
termcap cannot express the conditional used by the terminfo entry.

Fixes:		804f961c5c ("share/termcap: add xterm-ghostty entry")
MFC after:	1 week
2026-10-12 00:51:43 -07:00
Christos Longros 3061504326 Add Christos Longros as ports committer, update mentor/mentee
Reviewed by:	jrm (mentor)
Approved by:	jrm (mentor)
Differential Revision:	https://reviews.freebsd.org/D60591
2026-10-11 07:21:22 +02:00
Juraj Lutter 2d935a1e93 man.4: Create if_mgb.4 symlink on supported architectures only.
Fixes:			05c49e2aa6 ("man: Link mgb.4 to if_mgb.4")
Fixes:			e0a5aa37c1
Differential revision:	https://reviews.freebsd.org/D60551
2026-10-10 23:56:34 +02:00
Li-Wen Hsu e0a5aa37c1 man4: Only link mgb.4 to if_mgb.4 where mgb.4 is installed
mgb.4 is only installed on amd64 and i386, move the MLINKS entry into
the amd64/i386 block next to _mgb.4.

Fixes:		05c49e2aa6 ("man: Link mgb.4 to if_mgb.4")
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2026-10-11 05:02:05 +08:00
Juraj Lutter 05c49e2aa6 man: Link mgb.4 to if_mgb.4
For consistency, create a symbolic link from mgb.4 to also
if_mgb.4

Reviewed by:		#manpages, ziaee, emaste
Differential Revision:	https://reviews.freebsd.org/D60551
MFC after:		3 days
2026-10-10 13:55:47 +02:00
Enji Cooper 7a48c3fd3e acl(9): expound on NFSv4 constants' meanings
This change adds missing documentation for various NFSv4 constants
supported by acl(9).

Bump `.Dd` for the change.

MFC after:	1 week
Reviewed by:	rmacklem
Differential Revision:	https://reviews.freebsd.org/D58736
2026-10-10 00:28:36 -07:00
Ed Maste 39f7dbff60 bsd.dirs.mk: Improve "installing DIRS" message
Some of these messages looked at first glance like they were incorrectly
concatenated, e.g. "installing DIRS testsFILESDIR".  Add a colon to
clarify.

Reviewed by:	brooks, imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60525
2026-10-09 11:38:21 -04:00
Mateusz Piotrowski 8eb863097f ports.7: Document how to use mdo(1) for SU_CMD
Reviewed by:	olce
MFC after:	1 week
Sponsored by:	fme AG
Differential Revision:	https://reviews.freebsd.org/D60443
2026-10-08 13:37:05 +02:00
Ravi Pokala bf97446e34 ipmi(4): improve debugging for ioctl(IPMICTL_SEND_COMMAND)
Add a knob to debug ioctl(IPMICTL_SEND_COMMAND). Log the IPMI NetFn and
Cmd fields, followed by a hexdump of the request data. Upon completion,
log the hexdump of the response data.

Reviewed by:	adrian, imp, ngie
Sponsored by:	Vdura
Differential Revision:	https://reviews.freebsd.org/D59514
2026-10-08 00:08:22 -04:00
Boris Lytochkin bd369bc7c2 committers-src: Add lytboris mentored by ae@
Reviewed by:    ae
Approved by:    ae (mentor)
2026-10-07 14:23:33 +03:00
Christos Margiolis 25faf86108 pcm.4: Remove DIAGNOSTICS section
These diagnostics do not exist anymore.

MFC after:	1 week
2026-10-07 09:03:31 +02:00
Siva Mahadevan b45d14d3d6 sys.mk: CTFMERGE: don't assume objfiles always have CTF sections
There are many instances, e.g. in the kernel, where
object files don't have CTF sections, but still need
to be merged into one that does have a CTF section.

This fixes cases like the following:

--------------------------------------------------------------
>>> stage 3.1: building everything
--------------------------------------------------------------

linking kernel.full
ctfmerge -t -L VERSION -g -o kernel.full ...
ERROR: ctfmerge: Input file force-dynamic-hack.pico was partially built from C sources, but no CTF data was present
Removing kernel.full

    kernel.full ---
    [kernel.full] Error code 1

This partially reverts commit fdd3f6f788.

PR:		299013
Reported by:	markj
Reviewed by:	markj, emaste
Fixes:		fdd3f6f788 ("bsd.lib.mk: only ctfmerge if objfiles have a CTF section")
Differential Revision:	https://reviews.freebsd.org/D60378
2026-10-05 16:13:36 -04:00
Siva Mahadevan fdd3f6f788 bsd.lib.mk: only ctfmerge if objfiles have a CTF section
PR:		299013
Reported by:	[email protected]
Reviewed by:	emaste
Fixes:		222210c6a8 ("libgcc_s: add libgcc_s_asneeded.so wrapper for gcc 16")
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D60252
2026-10-05 10:07:44 -04:00
Juraj Lutter 566fdcba48 man: Link ena.4 to if_ena.4
For consistency, create a symbolic link from ena.4 to also if_ena.4

Reviewed by:		#manpages, ziaee
Differential Revision:	https://reviews.freebsd.org/D60191
MFC after:		3 days
2026-10-01 12:25:56 +02:00
John Baldwin 40ce54ccd9 apm(8): Remove support for APM BIOS
Drop support for queries and commands that are not supported by ACPI's
/dev/apm interface.  This includes dropping support for
enabling/disabling APM BIOS used by /etc/rc.d/apm.

Reviewed by:	ziaee, imp
Differential Revision:	https://reviews.freebsd.org/D59941
2026-09-30 12:21:45 -04:00
John Baldwin e10eb35d25 apm.4: Trim down to describing the compat interface exposed by acpi(4)
Reviewed by:	ziaee, imp
Differential Revision:	https://reviews.freebsd.org/D59938
2026-09-30 12:21:06 -04:00
John Baldwin 247503fedb apmd: Retire the APM daemon
The original purpose of this daemon was to route power management
requests to userspace, e.g. when the suspend button was pressed, the
APM driver posted an event read by apmd(8) that would invoke zzz(8) to
suspend.  However, on ACPI systems this is handled by devd(8) events
instead and running apmd(8) in addition just adds extra complexity.
This probably should have been axed when the APM BIOS support was
retired in commit 8c576a279e.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D59937
2026-09-30 12:20:02 -04:00
Alexander Ziaee afe3e2e9c5 unionfs.4: Canonicalize SYNOPSIS + nit SPDX
MFC after:	3 days
2026-09-29 17:37:21 -04:00
Alexander Ziaee bfe3273299 ums.4: Canonicalize SYNOPSIS + tag SPDX
MFC after:	3 days
2026-09-29 17:36:56 -04:00
Alexander Ziaee dc20c58ae5 umoscom.4: Canonicalize SYNOPSIS + tag SPDX
MFC after:	3 days
2026-09-29 17:33:28 -04:00
Alexander Ziaee c4e25d192f umodem.4: Canonicalize SYNOPSIS + tag SPDX
MFC after:	3 days
2026-09-29 17:31:33 -04:00
Wolfram Schneider 629c7cf72d bsd-family-tree: add macOS 27 2026-09-29 19:32:56 +00:00
Kevin Bowling fa78e1d0b1 pci: Reserve bus numbers required by SR-IOV VFs
Some firmware assigns only one bus number to each PCI-PCI bridge.  This
prevents later SR-IOV VF enumeration when a VF routing ID falls on a bus
number already allocated to a sibling bridge.

Reserve only the additional bus numbers required by SR-IOV PFs.
Enumerate all directly attached functions before child drivers and
bridges attach, inspect their device_t objects for SR-IOV, and grow the
PCI bus resource through the highest possible VF routing ID.

First VF Offset and VF Stride may change when NumVFs changes.  Probe
every valid NumVFs value and preserve the original setting.  When the
upstream hierarchy uses ARI, temporarily enable the SR-IOV ARI Hierarchy
control in the lowest-numbered PF while sizing, then restore it.  Scope
active-VF detection to each conventional PCI slot; an ARI bus remains
one slot-0 hierarchy.  If firmware left VFs enabled on a device, do not
modify it and reserve only its active layout.

During runtime configuration, consult the PCI bus's owned resource
range rather than PCI-PCI bridge registers.  This recognizes an existing
boot-time reservation beneath both PCI-PCI and host bridges and avoids a
second, overlapping bus-number allocation.

This avoids consuming bus numbers behind unrelated bridges.  The runtime
allocation in pci_iov.c remains as a fallback when the boot-time range
cannot be enlarged.  hw.pci.clear_buses remains useful when firmware
assigned a required number to another bridge before enumeration.

Validated the targeted implementation on an Intel E810-XXV behind a
non-ARI root port.  With hw.pci.clear_buses=1 and no global reserve
tunable, the PF bridge received buses 1-2 while three unrelated bridges
each received one bus.  A VF with First VF Offset 0x100 attached as
iavf0 at pci0:2:0:0, and detached cleanly.

Reviewed by:	jhb, manpages (ziaee)
MFC after:	2 weeks
Sponsored by:	BBOX.io
Differential Revision:	https://reviews.freebsd.org/D58624
2026-09-28 23:25:45 -07:00
Alexander Ziaee 334e8745e9 wsp.4: Canonicalize SYNOPSIS + tag SPDX
MFC after:		3 days
Reviewed by:		wulf
Differential Revision:	https://reviews.freebsd.org/D59257
2026-09-28 18:01:46 -04:00
Alexander Ziaee 3a542d83a8 uep.4: Canonicalize SYNOPSIS, KERNEL CONFIGURATION
MFC after:		3 days
Reviewed by:		glebius, wulf
Differential Revision:	https://reviews.freebsd.org/D59869
2026-09-28 18:01:30 -04:00
Xiaoqiang Zhao 2f49e40a68 llvm: add LoongArch target support, not enabled by default
Note there is ongoing work to add LoongArch support to the base system,
but having target support in llvm is an essential component.

This must be explicitly enabled using WITH_LLVM_TARGET_LOONGARCH.

Reviewed by:	dim
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D59899
2026-09-28 18:13:02 +02:00
Stéphane Rochoy 3b97a476a9 committers-src: Add sheda mentored by imp@ and des@
Approved by: imp (mentor), des (mentor)
Differential Revision: https://reviews.freebsd.org/D59871
2026-09-28 09:36:37 +02:00