Page MenuHomeFreeBSD

D59467.id186024.diff
No OneTemporary

D59467.id186024.diff

diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -56,6 +56,7 @@
${_bxe.4} \
${_aout.4} \
${_apic.4} \
+ ${_apple_bce.4} \
aq.4 \
arcmsr.4 \
arswitch.4 \
@@ -970,6 +971,10 @@
.endif
.endif
+.if ${MACHINE_CPUARCH} == "amd64"
+_apple_bce.4= apple_bce.4
+.endif
+
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "aarch64"
_hwt.4= hwt.4
.if ${MACHINE_CPUARCH} == "amd64"
diff --git a/share/man/man4/apple_bce.4 b/share/man/man4/apple_bce.4
new file mode 100644
--- /dev/null
+++ b/share/man/man4/apple_bce.4
@@ -0,0 +1,78 @@
+.\"
+.\" Copyright (c) 2026 Enji Cooper <ngie@FreeBSD.org>
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+.\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd September 6, 2026
+.Dt APPLE_BCE 4
+.Os
+.Sh NAME
+.Nm apple_bce
+.Nd device driver for the Apple T2 Buffer Copy Engine
+.Sh SYNOPSIS
+To compile this driver into the kernel, place the following line in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device pci"
+.Cd "device usb"
+.Cd "device apple_bce"
+.Ed
+.Pp
+Alternatively, to load the driver as a
+module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+apple_bce_load="YES"
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+driver controls the Apple T2 Buffer Copy Engine.
+.Pp
+The T2 Buffer Copy Engine, called
+.Dq BCE
+for short, is a device which interacts with higher-level interfaces like the built-in
+keyboard, trackpad, audio, and VHCI (Virtual USB Host Interface), etc.
+.Pp
+The Apple T2 Buffer Copy Engine is known to be found on the following systems:
+.Pp
+.Bl -bullet -offset indent -compact
+.It
+MacBook Air (2018-2020)
+.It
+MacBook Pro (2018-2020)
+.It
+MacMini (2018)
+.It
+Mac Pro (2019 and later)
+.El
+.Pp
+.Sh SEE ALSO
+.Xr asmc 4 ,
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Fx 16.0 .
+.Sh AUTHORS
+.An Abdelkader Boudih Aq Mt seuros@FreeBSD.org

File Metadata

Mime Type
text/plain
Expires
Tue, Sep 8, 11:28 PM (15 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38545862
Default Alt Text
D59467.id186024.diff (3 KB)

Event Timeline