mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 00:30:52 +07:00
5fa3ea047a
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
29 lines
441 B
Ruby
29 lines
441 B
Ruby
|
|
require 'syno_kconfig'
|
|
|
|
describe 'CONFIG_PCIEASPM' do
|
|
include SynoKconfig
|
|
|
|
# builtin configs
|
|
%w[
|
|
CONFIG_PCIEASPM
|
|
CONFIG_PCIEASPM_PERFORMANCE
|
|
].each do |cfg|
|
|
it "#{cfg}=y" do
|
|
platforms.verify(cfg, builtin?)
|
|
end
|
|
end
|
|
|
|
# disable configs
|
|
%w[
|
|
CONFIG_PCIEASPM_DEFAULT
|
|
CONFIG_PCIEASPM_POWERSAVE
|
|
CONFIG_PCIEASPM_POWER_SUPERSAVE
|
|
].each do |cfg|
|
|
it "#{cfg} is not set" do
|
|
platforms.verify(cfg, disabled?)
|
|
end
|
|
end
|
|
end
|
|
|