opnsense-src/sys/dev/sound
Brooks Davis 38286d9f68 pcm: centralize 32-bit ioctl compat
Move all handlng of struct sndstioc_nv_arg(32) to sndstat_ioctl() and
make the functions that actually do the work take a buffer and size or
size pointer.  The 32-bit compat work is minimal so just inline it.

Remove checks that we've got a 32-bit process for 32-bit ioctls.  We
don't check that default ioctls are from 64-bit processes on 64-bit
systems.

Reviewed by:	christos
Differential Revision:	https://reviews.freebsd.org/D45307

(cherry picked from commit fb9013f215211f013eccc54786f299e39a1f8773)
2024-05-26 15:51:33 +02:00
..
fdt audio_soc: set "status" as being at simplebus 2024-02-17 16:15:10 +02:00
isa sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
macio sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
midi sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
pci snd_hda: Add patch for Asus UX331UAL 2024-05-23 02:24:15 +02:00
pcm pcm: centralize 32-bit ioctl compat 2024-05-26 15:51:33 +02:00
usb sound: Move chip.h contents to pcm/sound.h 2024-05-17 21:30:35 +02:00
driver.c sound: add missing modules to snd_driver 2024-01-30 13:07:29 +02:00