freebsd-nq/sys/dev
Ka Ho Ng c96151d335 Implement sndstat nvlist-based enumeration ioctls.
These ioctl commands aim to provide easier ways for user space
applications to enumerate existing audio devices and the node they can
potentially use.

The exchange of device lists between user space and kernel is done on
nv(9). Some ioctl commands are added to /dev/sndstat node:
  - SNDSTAT_REFRESH_DEVS
  - SNDSTAT_GET_DEVS
  - SNDSTAT_ADD_USER_DEVS
  - SNDSTAT_FLUSH_USER_DEVS

Bump __FreeBSD_version to reflect the addition of the ioctls.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	hselasky
Approved by:	philip (mentor)
Differential Revision:	https://reviews.freebsd.org/D26884
2021-03-17 19:05:43 +08:00
..
aac Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
aacraid Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
acpi_support acpi_wmi(4): Allow attachment to ACPI node if EC is not found 2020-12-23 11:10:53 +03:00
acpica Move time math out of disabled interrupts sections. 2021-03-10 13:52:51 -05:00
adb adb: clean up empty lines in .c and .h files 2020-09-01 21:34:24 +00:00
adlink adlink: clean up empty lines in .c and .h files 2020-09-01 21:34:41 +00:00
ae if_ae: clean up empty lines in .c and .h files 2020-09-01 21:34:58 +00:00
age if_age: clean up empty lines in .c and .h files 2020-09-01 21:35:14 +00:00
agp agp: clean up empty lines in .c and .h files 2020-09-01 21:35:39 +00:00
ahci Add Intel Gemini Lake AHCI ID. 2021-01-15 09:53:35 -05:00
aic7xxx aic7xxx: clean up empty lines in .c and .h files 2020-09-01 21:37:14 +00:00
al_eth al_eth: clean up empty lines in .c and .h files 2020-09-01 21:37:35 +00:00
alc
ale ale: clean up empty lines in .c and .h files 2020-09-01 21:37:53 +00:00
alpm alpm: clean up empty lines in .c and .h files 2020-09-01 21:38:06 +00:00
altera altera: clean up empty lines in .c and .h files 2020-09-01 21:38:18 +00:00
amd_ecc_inject amd*: clean up empty lines in .c and .h files 2020-09-01 21:39:19 +00:00
amdgpio amd*: clean up empty lines in .c and .h files 2020-09-01 21:39:19 +00:00
amdpm amd*: clean up empty lines in .c and .h files 2020-09-01 21:39:19 +00:00
amdsbwd amd*: clean up empty lines in .c and .h files 2020-09-01 21:39:19 +00:00
amdsmb amd*: clean up empty lines in .c and .h files 2020-09-01 21:39:19 +00:00
amdsmn amdsmn(4), amdtemp(4): add support for Family 19h (Zen 3) 2020-12-12 19:34:12 +00:00
amdtemp amdtemp(4): Add missing Family 17h models 2020-12-12 19:43:38 +00:00
amr Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
an pccard: Remove an(4) PC Card attachment 2021-01-07 20:22:42 -07:00
arcmsr arcmsr(4): Fixed no action of hot plugging device on type_F adapter. 2021-03-02 22:57:20 -08:00
asmc asmc: clean up empty lines in .c and .h files 2020-09-01 21:40:30 +00:00
ata pccard: Remove ata(4) PC Card attachemnt 2021-01-07 20:23:14 -07:00
ath [ath] do a cold reset if TSFOOR triggers 2021-03-12 23:30:25 -08:00
atkbdc evdev: Remove useless "initial value" parameter from evdev_support_abs() 2021-01-08 02:18:41 +03:00
axgbe axgbe: fix some link related issues 2021-01-23 13:51:29 +00:00
backlight Add backlight subsystem 2020-10-02 18:18:01 +00:00
bce bce: clean up empty lines in .c and .h files 2020-09-01 21:42:08 +00:00
beri if_vtbe: Add missing includes to fix build 2021-03-08 20:48:48 +00:00
bfe bfe: clean up empty lines in .c and .h files 2020-09-01 21:42:38 +00:00
bge bge(4): remove obsolete support for on-board Fujitsu and Sun MACs 2020-12-25 20:04:19 +01:00
bhnd bhnd: clean up empty lines in .c and .h files 2020-09-01 21:43:05 +00:00
bnxt iflib: Make if_shared_ctx_t a pointer to const 2021-03-08 12:39:06 -05:00
bwi WiFi: fix ieee80211_media_change() callers 2020-09-07 15:35:40 +00:00
bwn Provide MS() and SM() macros for 80211 and wireless drivers. 2020-09-24 10:57:39 +00:00
bxe Remove newline from bxe description, it's not done elsewhere. 2020-11-09 03:02:34 +00:00
cadence cgem: improve usage of busdma(9) KPI 2021-02-18 17:17:41 -04:00
cardbus cardbus: Be sure to acquire Giant when calling into newbus 2021-02-27 01:23:09 -07:00
cas
ce ce: clean up empty lines in .c and .h files 2020-09-01 22:10:00 +00:00
cesa cesa: clean up empty lines in .c and .h files 2020-09-01 22:10:11 +00:00
cfe cfe: clean up empty lines in .c and .h files 2020-09-01 22:10:24 +00:00
cfi cfi: clean up empty lines in .c and .h files 2020-09-01 22:10:34 +00:00
chromebook_platform
ciss ciss: clean up empty lines in .c and .h files 2020-09-01 22:10:55 +00:00
coretemp hwpmc: Always set pmc_cpuid to something 2020-07-14 22:25:06 +00:00
cp
cpuctl cpuctl: clean up empty lines in .c and .h files 2020-09-01 22:11:22 +00:00
cpufreq cpufreq: clean up empty lines in .c and .h files 2020-09-01 22:11:48 +00:00
cxgb cxgb(4): Rework my commit 9dc7c250. 2021-02-22 17:33:43 -05:00
cxgbe cxgbe(4): catch up with the latest cryptocaps. 2021-03-16 10:53:52 -07:00
cyapa evdev: Remove useless "initial value" parameter from evdev_support_abs() 2021-01-08 02:18:41 +03:00
dc
dcons
dme
dpaa
dpms
drm2 Don't permit DRM buffer mappings to be upgraded to executable. 2020-10-06 18:13:15 +00:00
dwc [if_dwc] add support for multi-descriptor packets in TX path 2020-12-23 12:29:29 -08:00
dwwdt dwwdt: Add PNP info for the driver 2021-01-13 18:43:51 +01:00
e1000 iflib: Make if_shared_ctx_t a pointer to const 2021-03-08 12:39:06 -05:00
efidev efirt: add hooks for diverging EFI implementations 2021-02-16 15:26:11 +01:00
ena Allocate BAR for ENA MSIx vector table 2021-02-18 13:54:36 +01:00
esp
et
etherswitch
evdev evdev: Make variable-size ioctls return actual length of copyouted data 2021-01-20 23:10:07 +03:00
exca
extres EXTRES: Ignore index modifier flags for table based clock dividers. 2020-12-27 17:47:19 +01:00
fb fb_if: remove unused method 2021-01-22 00:18:39 +01:00
fdc pccard: Remove fdc(4) PC Card attachment point 2021-01-07 20:22:56 -07:00
fdt simple_mfd: switch to controllable locking for syscon provider. 2021-03-04 16:12:39 +01:00
ffec Add i.MX 8M Quad support 2020-07-01 00:33:16 +00:00
filemon Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
firewire fwohci: Cast bitfield to uint32_t before passing it to roundup2(). 2021-02-17 13:12:06 -08:00
flash Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
ftwd Add watchdog(9) driver for the Fintek F81803 SuperIO chip 2020-11-28 22:34:33 +00:00
fxp
gem
glxiic
glxsb Explicitly zero hash results and context in glxsb_authcompute(). 2020-06-25 20:21:34 +00:00
goldfish Add Goldfish RTC device driver for RISC-V 2020-07-26 18:15:16 +00:00
gpio Revert "Define PNP info after defining driver modules" 2021-01-23 10:59:41 -05:00
gxemul
hdmi Fix reading EDID on TVs/monitors without E-DCC support 2020-06-10 21:38:35 +00:00
hid hid: add opt_hid.h to modules that use HID_DEBUG 2021-03-04 01:43:29 +03:00
hifn Don't return errors from the cryptodev_process() method. 2020-09-08 22:41:35 +00:00
hpt27xx
hptiop
hptmv Don't check return from xpt_alloc_ccb() for being NULL; since it's not 2020-11-23 12:59:56 +00:00
hptnr
hptrr
hwpmc Move the PMC overflow count to make it per-CPU 2021-01-08 14:24:43 +00:00
hyperv Hyper-V: hn: Initialize the internal field of per packet info on tx path 2021-03-15 10:33:29 +00:00
ic scc(4)/uart(4): Remove obsolete support for Siemens SAB 82532 2020-12-26 13:48:06 +01:00
ice ice(4): Update to version 0.28.1-k 2021-03-05 17:33:39 -08:00
ichiic ig4: Add PCI IDs for Intel Gemini Lake I2C controller. 2021-02-24 01:23:43 +03:00
ichsmb ichsmb_pci: convert to pci_device_table / add PCI_PNP_INFO 2020-10-01 16:55:01 +00:00
ichwd
ida
if_wg if_wg: fix build with DIAGNOSTICS 2021-03-15 07:36:02 -05:00
iicbus iicsmb: Request the bus recursively in bread() 2021-02-23 20:06:16 +00:00
iir
imcsmb
intel pchtherm: fix a wrong bit and a wrong register use 2021-03-05 11:01:28 +02:00
intpm
io
ioat Remove free_domain() and uma_zfree_domain(). 2020-08-04 13:58:36 +00:00
iommu dmar: reserve memory windows of PCIe root port 2020-12-09 18:43:58 +00:00
ipmi Revert "ipmi_smbios: Deduplicate smbios entry point discovery logic" 2021-02-23 22:49:13 +00:00
ips
ipw
isci isci: use maxphys rather than 128KB to size s/g list 2021-01-07 12:45:46 -05:00
iscsi Move ic_check_send_space clear to the actual check. 2021-03-03 15:29:35 -05:00
iscsi_initiator Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
iser
isl
ismt
isp Mark inline functions static. 2020-11-29 00:35:13 +00:00
ispfw Remove parallel SCSI and 1/2Gb FC support from isp(4). 2020-11-20 01:15:48 +00:00
itwd
iwi
iwm iwm(4): Add support for Intel Killer(R) Wireless-AC 1550i 2021-01-14 11:41:28 -05:00
iwn Provide MS() and SM() macros for 80211 and wireless drivers. 2020-09-24 10:57:39 +00:00
ixgbe iflib: Make if_shared_ctx_t a pointer to const 2021-03-08 12:39:06 -05:00
ixl Fix some common typos in comments 2021-03-13 18:26:15 +01:00
jedec_dimm jedec_dimm: fix array overrun 2020-08-31 15:03:23 +00:00
jme
kbd
kbdmux
ksyms vm_ooffset_t is now unsigned 2020-09-18 16:48:08 +00:00
le
led
lge
liquidio
malo Provide MS() and SM() macros for 80211 and wireless drivers. 2020-09-24 10:57:39 +00:00
mbox
md md: Fix a race in mdstart_swap() 2021-01-04 08:26:14 -05:00
mdio
mem vm_phys: Try to clean up NUMA KPIs 2020-11-19 03:59:21 +00:00
mfi Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
mgb iflib: ensure that tx interrupts enabled and cleanups 2021-01-07 14:07:35 -08:00
mge
mii nsphy(4): Remove obsolete support for pcn(4) 2020-12-26 19:40:56 +01:00
mlx
mlx4 mlx4, mthca: Silence warnings about no-op alignment operations 2021-02-11 10:16:59 -05:00
mlx5 Catch up with 6edfd179c8: mechanically rename IFCAP_NOMAP to IFCAP_MEXTPG. 2021-01-29 11:46:24 -08:00
mlxfw
mly mly: clean up empty lines in .c and .h files 2020-09-01 22:07:37 +00:00
mmc dwmmc: Multiple busdma fixes. 2021-02-03 21:15:11 +01:00
mmcnull
mn Fix compilation after r368397. 2020-12-07 11:18:51 +00:00
mpr Remove unused wrappers around kproc_create() and kproc_exit(). 2021-03-12 09:47:58 -08:00
mps Remove unused wrappers around kproc_create() and kproc_exit(). 2021-03-12 09:47:58 -08:00
mpt Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
mrsas mrsas: unbreak i386 build 2021-02-05 15:43:48 -03:00
msk
mthca mlx4, mthca: Silence warnings about no-op alignment operations 2021-02-11 10:16:59 -05:00
mvs Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
mwl Provide MS() and SM() macros for 80211 and wireless drivers. 2020-09-24 10:57:39 +00:00
mxge Use uintptr_t instead of unsigned long for integers holding pointers. 2020-12-16 00:17:54 +00:00
my my: clean up empty lines in .c and .h files 2020-09-01 22:05:21 +00:00
nctgpio
neta mvneta: Acquire the softc lock before clearing the MIB 2021-01-09 10:04:17 -05:00
netfpga10g/nf10bmac
netmap netmap: fix memory leak in NETMAP_REQ_PORT_INFO_GET 2021-03-15 17:39:18 +00:00
nfe nfe: clean up empty lines in .c and .h files 2020-09-01 22:04:37 +00:00
nfsmb nfsmb: clean up empty lines in .c and .h files 2020-09-01 22:04:24 +00:00
nge nge: clean up empty lines in .c and .h files 2020-09-01 22:04:10 +00:00
nmdm Use the actual credentials to create the /dev/nmdm* devices. 2021-01-04 13:18:47 +00:00
ntb ntb: quiet gcc -Wreturn-type 2020-12-11 22:51:48 +00:00
null null: clean up empty lines in .c and .h files 2020-09-01 22:03:46 +00:00
nvd nvd: clean up empty lines in .c and .h files 2020-09-01 22:03:32 +00:00
nvdimm nvdimm(4): Export NVDIMM health flags via sysctl 2021-02-18 15:08:33 -08:00
nvme nvme: use config_intrhook_drain to avoid removable card races 2021-03-11 09:45:10 -07:00
nvram
nvram2env nvram2env: clean up empty lines in .c and .h files 2020-09-01 22:02:55 +00:00
oce oce: clean up empty lines in .c and .h files 2020-09-01 22:02:32 +00:00
ocs_fc Introduce support of SCSI Command Priority. 2020-10-25 19:34:02 +00:00
ofw openpromio(4): remove obsolete pseudo device driver 2021-01-16 23:53:13 +01:00
otus WiFi: fix ieee80211_media_change() callers 2020-09-07 15:35:40 +00:00
ow Revert "Define PNP info after defining driver modules" 2021-01-23 10:59:41 -05:00
pbio pbio: clean up empty lines in .c and .h files 2020-09-01 22:01:17 +00:00
pccard pccard: Move power_if.m from pccard to cardbus 2021-01-07 17:05:29 -07:00
pccbb pccard: remove pccbb_isa 2021-01-07 17:05:30 -07:00
pcf pcf: clean up empty lines in .c and .h files 2020-09-01 22:00:30 +00:00
pci pci_dw_mv: Don't enable unhandled interrupts. 2021-03-01 14:03:34 +01:00
pms pms: handle maximum size IO with any alignment 2021-01-20 13:59:49 -08:00
powermac_nvram powermac_nvram: clean up empty lines in .c and .h files 2020-09-01 21:59:31 +00:00
ppbus ppbus: Fix the direction of the PPISEPPA ioctl 2021-01-18 19:44:42 -05:00
ppc ppc: clean up empty lines in .c and .h files 2020-09-01 21:58:56 +00:00
proto proto: clean up empty lines in .c and .h files 2020-09-01 21:58:40 +00:00
psci psci: clean up empty lines in .c and .h files 2020-09-01 21:58:29 +00:00
pst pst: clean up empty lines in .c and .h files 2020-09-01 21:58:12 +00:00
pty
puc pccard: Remove puc(4) PC Card attachment 2021-01-07 20:23:00 -07:00
pwm usr.sbin/pwm/pwm add support for flags 2021-03-11 09:57:56 +01:00
qat qat: Add support for separate AAD and output buffers 2021-01-27 15:30:58 -05:00
qlnx qlnx: clean up empty lines in .c and .h files 2020-09-01 21:57:33 +00:00
qlxgb qlxgb: clean up empty lines in .c and .h files 2020-09-01 21:57:15 +00:00
qlxgbe qlxgbe: clean up empty lines in .c and .h files 2020-09-01 21:56:55 +00:00
qlxge qlxge: clean up empty lines in .c and .h files 2020-09-01 21:56:30 +00:00
quicc
ral ral: clean up empty lines in .c and .h files 2020-09-01 21:56:10 +00:00
random random(4) FenestrasX: Push root seed version to arc4random(3) 2020-10-10 21:52:00 +00:00
rccgpio
re re: netmap: enable/disable krings on interface reinit 2021-01-10 15:09:05 +00:00
rl re(4): Add a 8168-compatible device ID 2020-10-05 19:58:55 +00:00
rndtest rndtest: clean up empty lines in .c and .h files 2020-09-01 21:55:52 +00:00
rt Move kernel env global variables, etc to sys/kenv.h 2020-10-07 06:16:37 +00:00
rtsx Port rtsx(4) driver for Realtek SD card reader from OpenBSD. 2020-11-24 21:28:44 +00:00
rtwn rtwn: narrow the epoch area 2020-09-29 20:46:25 +00:00
safe Don't return errors from the cryptodev_process() method. 2020-09-08 22:41:35 +00:00
safexcel safexcel: Disallow unsupported buffer layouts 2021-01-27 15:31:10 -05:00
sbni sbni: clean up empty lines in .c and .h files 2020-09-01 21:54:35 +00:00
scc scc(4)/uart(4): Remove obsolete support for Siemens SAB 82532 2020-12-26 13:48:06 +01:00
sdhci Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
sdio sdio: clean up empty lines in .c and .h files 2020-09-01 21:53:58 +00:00
sec sec: clean up empty lines in .c and .h files 2020-09-01 21:53:44 +00:00
sfxge sfxge: clean up empty lines in .c and .h files 2020-09-01 21:29:01 +00:00
sge
siis Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
sis
sk hme(4): Remove as previous announced 2020-12-11 21:40:38 +00:00
smartpqi smartpqi: don't bzero the new ccb; xpt_alloc_ccb_nowait() already does that. 2020-11-23 12:54:19 +00:00
smbios Revert "ipmi_smbios: Deduplicate smbios entry point discovery logic" 2021-02-23 22:49:13 +00:00
smbus smbus: clean up empty lines in .c and .h files 2020-09-01 21:53:00 +00:00
smc smc: clean up empty lines in .c and .h files 2020-09-01 21:52:46 +00:00
snp
sound Implement sndstat nvlist-based enumeration ioctls. 2021-03-17 19:05:43 +08:00
speaker Remove splclock(). It's not useful to keep. 2020-08-28 16:40:33 +00:00
spibus Add IRQ resource to SPIBUS 2020-12-17 17:11:14 +00:00
ste
stge stge: clean up empty lines in .c and .h files 2020-09-01 21:52:20 +00:00
sume Driver for 4x10Gb Ethernet reference NIC FPGA design for NetFPGA SUME 2020-08-30 07:34:32 +00:00
superio Add support for Fintek F81803 SuperIO chip 2020-11-26 07:34:20 +00:00
sym sym(4): handle mixed tagged/untagged commands gracefully 2021-01-22 00:18:39 +01:00
syscons Remove remaning definition of GFB_<foo> options. 2020-12-05 19:44:00 +00:00
tcp_log tcp_log: clean up empty lines in .c and .h files 2020-09-01 21:51:38 +00:00
tdfx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
terasic
ti ti: clean up empty lines in .c and .h files 2020-09-01 21:50:47 +00:00
tpm unifdef -D__FreeBSD__ to remove the OpenBSD support 2021-01-13 22:35:22 -08:00
tsec tsec: clean up empty lines in .c and .h files 2020-09-01 21:50:21 +00:00
twa twa: clean up empty lines in .c and .h files 2020-09-01 21:29:23 +00:00
twe twe: clean up empty lines in .c and .h files 2020-09-01 21:31:50 +00:00
tws Make tws(4) use xpt_alloc_ccb()/xpt_free_ccb() instead of malloc/free. 2020-11-23 13:02:23 +00:00
uart ns8250: don't drop IER_TXRDY on bus_grab/ungrab 2021-03-10 11:04:42 -04:00
usb usb: tiny formatting nit 2021-03-11 08:24:13 -07:00
veriexec
vge vge: clean up empty lines in .c and .h files 2020-09-01 21:49:49 +00:00
viapm viapm: clean up empty lines in .c and .h files 2020-09-01 21:49:31 +00:00
viawd
videomode videomode: clean up empty lines in .c and .h files 2020-09-01 21:49:14 +00:00
virtio bhyve: virtio shares definitions between sys/dev/virtio 2021-03-16 19:29:39 +08:00
vkbd vkbd: clean up empty lines in .c and .h files 2020-09-01 21:48:55 +00:00
vmd Add support for some more Intel VMD controllers. Some of the 2021-01-28 15:12:14 -08:00
vmgenc
vmware iflib: ensure that tx interrupts enabled and cleanups 2021-01-07 14:07:35 -08:00
vnic vnic: clean up empty lines in .c and .h files 2020-09-01 21:48:21 +00:00
vr vr: clean up empty lines in .c and .h files 2020-09-01 21:48:08 +00:00
vt ofwfb: fix boot on LE 2021-03-09 13:29:24 -03:00
vte
watchdog watchdog: clean up empty lines in .c and .h files 2020-09-01 21:47:20 +00:00
wbwd wbwd: clean up empty lines in .c and .h files 2020-09-01 21:46:58 +00:00
wpi wpi: clean up empty lines in .c and .h files 2020-09-01 21:46:27 +00:00
wtap WiFi: fix ieee80211_media_change() callers 2020-09-07 15:35:40 +00:00
xdma
xen xen: remove x86-ism from Xen common code 2021-03-01 13:33:01 +01:00
xilinx RISC-V: fix some mismatched format specifiers 2020-09-08 13:21:13 +00:00
xl
xz
zlib