ACK: [PATCH 2/3] acpi: method: add _CDM control method test (LP: #1249172)

Colin Ian King colin.king at canonical.com
Fri Nov 8 08:03:21 UTC 2013


On 08/11/13 03:43, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>  src/acpi/method/method.c | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 5c82560..05fb2bc 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -63,7 +63,7 @@
>   * _BTM  10.2.2.8	Y
>   * _BTP  10.2.2.7	Y
>   * _CBA  PCI f/w spec	Y
> - * _CDM  6.2.1		N
> + * _CDM  6.2.1		Y
>   * _CID  6.1.2		N
>   * _CLS  6.1.3		N requires PCI SIG class info
>   * _CPC  8.4.5		Y
> @@ -4784,6 +4784,12 @@ static int method_test_CBA(fwts_framework *fw)
>  		"_CBA", NULL, 0, method_test_integer_return, NULL);
>  }
>  
> +static int method_test_CDM(fwts_framework *fw)
> +{
> +	return method_evaluate_method(fw, METHOD_OPTIONAL,
> +		"_CDM", NULL, 0, method_test_integer_return, NULL);
> +}
> +
>  /*
>   * Tests
>   */
> @@ -4825,7 +4831,7 @@ static fwts_framework_minor_test method_tests[] = {
>  
>  	/* Section 6.2 Device Configurations Objects */
>  
> -	/* { method_test_CDM, "Check _CDM (Clock Domain)." }, */
> +	{ method_test_CDM, "Check _CDM (Clock Domain)." },
>  	{ method_test_CRS, "Check _CRS (Current Resource Settings)." },
>  	{ method_test_DIS, "Check _DIS (Disable)." },
>  	{ method_test_DMA, "Check _DMA (Direct Memory Access)." },
> 

Acked-by: Colin Ian King <colin.king at canonical.com>



More information about the fwts-devel mailing list