padlock(4)/nehemiah: move i386-only entropy source to MD files

Reviewed by: khng
Differential Revision:	https://reviews.freebsd.org/D53309
This commit is contained in:
David E. O'Brien 2025-10-23 15:27:06 -07:00
parent 0d589ecbc7
commit d1ca01059d
7 changed files with 11 additions and 5 deletions

View file

@ -309,7 +309,6 @@ device wpi # Intel 3945ABG wireless NICs.
device crypto # core crypto support
device aesni # AES-NI OpenCrypto module
device loop # Network loopback
device padlock_rng # VIA Padlock RNG
device rdrand_rng # Intel Bull Mountain RNG
device ether # Ethernet support
device vlan # 802.1Q VLAN support

View file

@ -113,7 +113,6 @@ device uart # Generic UART driver
# Pseudo devices.
device loop # Network loopback
device padlock_rng # VIA Padlock RNG
device rdrand_rng # Intel Bull Mountain RNG
device ether # Ethernet support

View file

@ -33,6 +33,7 @@ dev/hyperv/vmbus/i386/hyperv_machdep.c optional hyperv
dev/le/if_le_isa.c optional le isa
dev/ofw/ofw_pcib.c optional fdt pci
dev/pcf/pcf_isa.c optional pcf
dev/random/nehemiah.c optional padlock_rng !random_loadable
dev/sbni/if_sbni.c optional sbni
dev/sbni/if_sbni_isa.c optional sbni isa
dev/sbni/if_sbni_pci.c optional sbni pci

View file

@ -310,7 +310,6 @@ dev/ntb/ntb_hw/ntb_hw_plx.c optional ntb_hw_plx | ntb_hw
dev/ntb/test/ntb_tool.c optional ntb_tool
dev/nvram/nvram.c optional nvram isa
dev/random/ivy.c optional rdrand_rng !random_loadable
dev/random/nehemiah.c optional padlock_rng !random_loadable
dev/random/rdseed.c optional rdrand_rng !random_loadable
dev/qat_c2xxx/qat.c optional qat_c2xxx
dev/qat_c2xxx/qat_ae.c optional qat_c2xxx

View file

@ -302,6 +302,13 @@ envvar hint.pcf.0.irq="5"
#
device glxsb # AMD Geode LX Security Block
#
# padlock is a driver for the cryptographic functions and RNG in
# VIA C3, C7, and Eden processors.
# Requires 'device crypto'.
#
device padlock_rng # VIA Padlock RNG
#####################################################################
# ABI Emulation

View file

@ -819,7 +819,6 @@ _nfe= nfe
_nvram= nvram
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
_padlock= padlock
_padlock_rng= padlock_rng
_rdrand_rng= rdrand_rng
_rdseed_rng= rdseed_rng
.endif
@ -892,6 +891,9 @@ _glxsb= glxsb
_pcfclock= pcfclock
_pst= pst
_sbni= sbni
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
_padlock_rng= padlock_rng
.endif
.endif
.if ${MACHINE_ARCH} == "armv7"

View file

@ -541,7 +541,6 @@ device smbios
device vpd
device asmc
device tpm
device padlock_rng # VIA Padlock RNG
device rdrand_rng # Intel Bull Mountain RNG
device aesni # AES-NI OpenCrypto module
device ossl # OpenSSL OpenCrypto module