HardenedBSD/sys
Adrian Chadd 2e9d05fd68 asmc: Add support for 10 byte light sensor payloads; MacBookAir6,1
The later macbook models use a different packet payload for the light
sensors:

* There's only one, done in the camera
* It's a 4 byte sensor value, not a 2 byte value
* It's in a 10 byte payload.

So, this adds support for that and flips it on for the MacbookAir6,2.

It also adds support for MacBookAir6,1 as that now works fine here.

Tested - MacBookAir6,1 and 6,2

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D38365
2023-02-08 04:06:16 +00:00
..
amd64 amd64: ansify 2023-02-07 22:52:06 +00:00
arm
arm64
bsm
cam
cddl dtrace: implement riscv dtrace_getustackdepth() 2023-02-06 15:26:53 -04:00
compat LinuxKPI: 802.11: deal with stopped queues 2023-02-07 20:20:33 +00:00
conf
contrib
crypto OpenSSL: Regen assembly files for OpenSSL 1.1.1t 2023-02-07 13:55:17 -05:00
ddb ddb: ansify 2023-02-08 00:09:23 +00:00
dev asmc: Add support for 10 byte light sensor payloads; MacBookAir6,1 2023-02-08 04:06:16 +00:00
dts
fs smbfs: ansify 2023-02-07 23:35:11 +00:00
gdb
geom
gnu
i386
isa
kern sysv: ansify 2023-02-08 00:11:10 +00:00
kgssapi
libkern
modules
net bridge: Make the ioctl table local to if_bridge.c 2023-02-07 15:10:24 -05:00
net80211
netgraph
netinet tcp: Remove a couple of always-false checks from syncache_socket() 2023-02-07 15:22:54 -05:00
netinet6 inpcb: immediately return matching pcb on lookup 2023-02-07 09:21:52 -08:00
netipsec
netlink
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc
riscv dtrace: Fix RISC-V user stack unwinder 2023-02-06 15:26:53 -04:00
rpc
security
sys usr.sbin/kbdcontrol.c: Add backwards compatibility functions 2023-02-06 23:56:44 +01:00
teken
tests
tools
ufs
vm
x86
xdr
xen
Makefile
README.md

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures