git: acpi: Be lenient about unknown revision of FADT, MADT, XSDT and RSDT

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Sep 23 23:01:35 PDT 2013


commit fa90647ab083458ecf69a44b7bd57fc5685437b0
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Sep 24 13:52:41 2013 +0800

    acpi: Be lenient about unknown revision of FADT, MADT, XSDT and RSDT
    
    Revision 5 FADT is found on on ASRock H77 Pro4-M, which is beyond the
    revision even in ACPI-4.0a.  Since length is checked for these tables,
    this commit should be safe.

Summary of changes:
 sys/platform/pc32/acpica/acpi_fadt.c |  3 +--
 sys/platform/pc32/acpica/acpi_madt.c |  4 +---
 sys/platform/pc32/acpica/acpi_sdt.c  | 14 ++++++++++++--
 sys/platform/pc64/acpica/acpi_fadt.c |  3 +--
 sys/platform/pc64/acpica/acpi_madt.c |  4 +---
 sys/platform/pc64/acpica/acpi_sdt.c  | 14 ++++++++++++--
 6 files changed, 28 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fa90647ab083458ecf69a44b7bd57fc5685437b0


-- 
DragonFly BSD source repository


More information about the Commits mailing list