HardenedBSD/sys/dev
Ed Maste adba3c7420 vt: add comments for KDMKTONE ioctl implementation
The KDMKTONE ioctl, introduced in commit 916347f77e, is used to beep
the PC speaker.  For historical reasons the frequency is specified as an
8254 PIT divisor for a 1.19MHz clock.  Linux provides this same ioctl.
Add a comment to vtterm_beep to avoid someone wanting to "fix" this in
the future.

Also add an XXX comment that the period unit is supposed to be "timer
ticks."  Note that nothing in the base system uses this ioctl.

Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47395
2024-11-02 10:39:04 -04:00
..
aac newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
aacraid newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
acpi_support acpi_sbl_wmi: add a driver to trigger SBL firmware updates 2024-10-15 16:29:11 +02:00
acpica ACPI: Add ACPI_Q_AEI_NOPULL quirk and use in EC2 2024-10-25 19:34:56 -07:00
adb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
adlink
ae ae(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:34 +08:00
age age(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:35 +08:00
agp agp: Set the driver-specific field correctly 2024-08-29 13:12:19 +00:00
ahci newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
aic7xxx aic7xxx: use rounddown_pow_of_two 2024-06-24 02:14:55 -05:00
al_eth al_eth: improve TCP LRO 2024-09-05 17:35:40 +02:00
alc alc(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:35 +08:00
ale ale(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:35 +08:00
alpm newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
altera altera: Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:24 +08:00
amd_ecc_inject
amdgpio
amdpm newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
amdsbwd newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
amdsmb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
amdsmn amdsmn: add support for AMD Family 19h Models 40h-4Fh 2024-10-13 13:20:01 +00:00
amdtemp amdtemp: add support for AMD Family 19h Models 40h-4Fh 2024-10-13 13:21:19 +00:00
arcmsr arcmsr: Use device_set_descf() 2024-06-16 16:37:25 -04:00
asmc asmc: Add support for MacbookPro11,4 2024-08-26 14:27:58 +00:00
ata newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
ath Fix enum warning in ath_hal's ar9002 2024-10-23 20:26:35 +02:00
atkbdc
atopcase
axgbe axgbe: Fix setting promisc mode 2024-10-12 21:56:56 +08:00
backlight
bce net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
beri bhyve: avoid TOCTOU on iov_len in virtio_vq_recordon() 2024-09-27 10:20:53 -04:00
bfe net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
bge bge(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:36 +08:00
bhnd newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
bnxt bnxt(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:25 +08:00
bwi
bwn Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
bxe ifnet: Remove if_getamcount() 2024-09-04 14:28:28 +00:00
cadence net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
cardbus newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
cas cas(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:37 +08:00
cesa
cfe newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
cfi newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
chromebook_platform newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
ciss ciss: Don't panic on null CR ciss_dequeue_notify 2024-10-13 23:37:46 -06:00
clk jh7110: Add StarFive JH7110 clock/reset generator drivers 2024-05-07 13:07:36 -03:00
coretemp
cpuctl
cpufreq
cxgb cxgb(4): Register ifmedia callbacks before ether_ifattach. 2024-10-28 16:10:05 -07:00
cxgbe mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
cyapa
dc net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
dcons Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
dialog/da9063
dpaa net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
dpaa2 dpaa2: allow tapping of tx packets in dpni 2024-10-14 17:41:35 +00:00
dpms
drm2 drm2: Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:26 +08:00
dwc
dwwdt
e1000 e1000: Move I219 LM19/V19 to ADL 2024-10-23 20:31:17 -07:00
efidev
ena ena: Update driver version to v2.8.0 2024-10-15 17:38:33 +00:00
enetc libkern: add ilog2 macro 2024-06-03 11:37:55 -05:00
enic enic: Remove a stray semicolon 2024-10-24 23:04:49 +08:00
eqos eqos: Fix group address filtering. 2024-10-16 18:20:30 +11:00
et net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
etherswitch etherswitch: Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:27 +08:00
evdev
exca newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
fb
fdc
fdt geom_flashmap: Rename the kernel module 2024-10-29 15:11:12 +00:00
ffec if_ffec: fix MAC address bootverbose print 2024-10-27 20:27:18 -07:00
filemon
firewire fwip(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:28 +08:00
firmware sys: Use the new arm_smccc_invoke macros 2024-10-15 18:24:41 +01:00
flash flexspi: Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:27 +08:00
ftgpio
ftwd
fxp net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
gem net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
glxiic
glxsb
goldfish
gpio gpiobus: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:09:39 -04:00
gve net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
hdmi
hid newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
hifn
hpt27xx hpt27xx(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:28 +08:00
hptiop hptiop: Use device_set_descf() 2024-07-14 14:29:15 -04:00
hptmv Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
hptnr hptnr(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:29 +08:00
hptrr hptrr(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:29 +08:00
hwpmc hwpmc/arm64: Support the kernel booting to VHE 2024-06-25 09:07:19 +00:00
hwreset
hyperv sys: Use the new arm_smccc_invoke macros 2024-10-15 18:24:41 +01:00
iavf iavf(4): Get MSI-X BAR index at runtime instead of hardcoding it 2024-10-31 09:50:48 -07:00
ic
ice ice: Remove RDMA feature block on E830 devices 2024-10-30 13:35:40 -07:00
ichiic Add smbus and i2c device IDs for Meteor Lake 2024-08-13 20:52:19 +08:00
ichsmb Add smbus and i2c device IDs for Meteor Lake 2024-08-13 20:52:19 +08:00
ichwd
ida newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
igc igc: Remove a bogus register write in igc_if_queues_free() 2024-10-26 21:05:40 +00:00
iicbus iicbus: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:09:50 -04:00
imcsmb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
intel newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
intpm newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
io
ioat Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
iommu iommu: move context link and ref count into device-independent parts 2024-10-14 01:30:26 +03:00
ipmi ipmi: fix powerpc build 2024-10-18 13:30:44 -07:00
ips newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
ipw
irdma irdma: Use round{up,down}_pow_of_two 2024-06-24 02:20:49 -05:00
isci Fix enum warning in isci 2024-07-31 21:31:50 +02:00
iscsi mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
iser iser(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:30 +08:00
isl newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
ismt
isp isp: fix ISPCTL_ABORT_CMD switch case 2024-06-25 16:56:12 +02:00
ispfw
itwd
iwi
iwm
iwn iwn(4): correct debug message: "not" to "no" 2024-06-05 22:05:12 +00:00
ixgbe ixv: Check cap return before MSI-X enable write 2024-10-27 00:18:54 -07:00
ixl Revert "ixl: Increase tx/rx ring size to 8160" 2024-09-24 03:58:50 -07:00
jedec_dimm jedec_dimm: Use device_set_descf() 2024-06-16 16:37:26 -04:00
jme jme(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:38 +08:00
kbd
kbdmux
ksyms
kvm_clock
le net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
led
lge Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
liquidio ifnet: Remove if_getamcount() 2024-09-04 14:28:28 +00:00
mailbox/arm
malo
mana mana: Remove stray semicolons 2024-10-24 23:04:49 +08:00
mbox
md md(4): always trim the last partial sector 2024-10-14 11:08:21 +03:00
mdio newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
mem
mfi mfi: Correct a struct member name 2024-09-20 16:22:43 -06:00
mgb Canonicalize the name of the FreeBSD Foundation 2024-10-24 05:03:07 +08:00
mge newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
mii miibus: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:10:01 -04:00
mlx mlx(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:31 +08:00
mlx4 mlx4: use is_power_of_2 2024-09-28 16:23:17 -05:00
mlx5 mlx5e: Use M_WAITOK when allocating TLS tags 2024-10-23 15:56:14 -04:00
mlxfw
mmc geom_flashmap: Rename the kernel module 2024-10-29 15:11:12 +00:00
mmcnull
mpi3mr mpi3mr: Remove a stray semicolon 2024-10-24 23:04:50 +08:00
mpr mps/mpr: Add workaround for firmware not responding to IOC_FACTS or IOC_INIT 2024-10-13 15:38:01 -06:00
mps mps/mpr: Add workaround for firmware not responding to IOC_FACTS or IOC_INIT 2024-10-13 15:38:01 -06:00
mpt
mrsas mrsas(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:32 +08:00
msk msk/sk: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:09:01 -04:00
mthca
mvs newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
mwl net80211: migrate the group/unicast key check into inline functions 2024-07-15 11:45:30 -07:00
mxge mxge(4): Stop checking for failures from taskqueue_create(M_WAITOK) 2024-09-03 18:25:38 +08:00
my net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
nctgpio
ncthwm
neta neta: improve TCP LRO 2024-09-05 17:31:31 +02:00
netmap netmap: Make memory pools NUMA-aware 2024-10-14 13:33:33 +00:00
nfe net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
nfsmb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
nge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
nmdm
ntb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
null
nvd
nvdimm nvdimm: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:08:44 -04:00
nvme nvme: Clarify a comment 2024-11-02 08:14:33 -06:00
nvmem
nvmf nvmf: Deregister the post_sync eventhandler correctly during detach 2024-11-02 09:54:36 -04:00
nvram
oce net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
ocs_fc ocs_fc: Remove a stray semicolon 2024-10-24 23:04:50 +08:00
ofw newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
otus
ow ow: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:08:52 -04:00
p2sb
pbio
pccard
pccbb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
pcf
pci ignore_pci: Add a proper stub attach routine 2024-10-31 15:49:27 -04:00
phy
pms pms(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:32 +08:00
powermac_nvram
ppbus lpt: check readiness with predefined macros 2024-10-12 14:40:24 -06:00
ppc newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
proto proto: Use device_set_descf() 2024-06-02 19:38:41 -04:00
psci sys: Add an SMCCC Random Number Generator driver 2024-10-15 18:24:42 +01:00
pst Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
pty
puc newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
pwm newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
qat qat(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:32 +08:00
qat_c2xxx
qcom_clk
qcom_dwc3
qcom_gcc
qcom_mdio
qcom_qup
qcom_rnd
qcom_tcsr
qcom_tlmm
qlnx qlnxe: Allow MAC address override 2024-08-05 12:10:18 -07:00
qlxgb net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
qlxgbe net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
qlxge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
quicc newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
ral
random sys: Add an SMCCC Random Number Generator driver 2024-10-15 18:24:42 +01:00
rccgpio
re net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
regulator
rl net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
rndtest
rtsx newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
rtwn net80211: migrate the group/unicast key check into inline functions 2024-07-15 11:45:30 -07:00
safe safe(4): Remove a double word in a source code comment 2024-04-20 14:12:23 +02:00
safexcel
sbni net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
scc newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
sdhci sdhci: Add sysctl to report quirks on the slot 2024-09-26 09:58:54 -04:00
sdio sdiodevs: add more vendors and devices 2024-08-31 21:38:57 +00:00
sec
sff
sfxge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
sge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
siis newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
sis net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
sk msk/sk: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:09:01 -04:00
smartpqi
smbios smbios: Add length sanity checking 2024-07-24 23:09:57 -06:00
smbus smbus: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:10:10 -04:00
smc net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
snp
sound sound: Use bus_child_deleted methods to free ivars for children 2024-11-01 10:09:11 -04:00
speaker
spibus spibus: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:10:19 -04:00
sram
ste net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
stge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
sume sume(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:33 +08:00
superio superio: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:09:21 -04:00
sym
syscon
syscons
tcp_log
tdfx
ti net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
tpm tpm: Register TPM as entropy source 2024-08-31 10:53:02 -07:00
tsec net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
tws
uart uart: Implement SPCR rev 3 and 4 for PreciseBaudrate and UartClkFreq 2024-10-15 05:00:11 -06:00
usb usb: change LIST to SLIST to avoid LinuxKPI conflicts 2024-09-24 22:53:28 +00:00
veriexec
vge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
viapm newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
viawd
video
videomode
virtio virtio_p9fs: Simplify vt9p_req_wait() a bit 2024-10-25 17:54:39 +00:00
vkbd
vmd newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
vmgenc
vmm vmm: Remove more of vmmdev_open() 2024-09-05 00:36:27 +00:00
vmware Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
vnic newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
vr net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
vt vt: add comments for KDMKTONE ioctl implementation 2024-11-02 10:39:04 -04:00
vte net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
watchdog
wbwd wbwd: Use device_set_descf() 2024-06-16 16:37:26 -04:00
wdatwd
wg wg: Implement if_transmit unconditionally 2024-06-16 13:33:45 -04:00
wpi net80211: migrate the group/unicast key check into inline functions 2024-07-15 11:45:30 -07:00
wtap wtap: Fix typos in kernel messages 2024-04-21 09:47:24 +02:00
xdma
xen xen/blk{front,back}: fix usage of sector sizes different than 512b 2024-10-08 09:29:13 +02:00
xilinx net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
xl net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
xz
zlib