From patchwork Tue Apr 26 08:30:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Rui" X-Patchwork-Id: 731872 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3Q8Wl2B001630 for ; Tue, 26 Apr 2011 08:33:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751191Ab1DZIdW (ORCPT ); Tue, 26 Apr 2011 04:33:22 -0400 Received: from mga09.intel.com ([134.134.136.24]:56939 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074Ab1DZIdV (ORCPT ); Tue, 26 Apr 2011 04:33:21 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 26 Apr 2011 01:33:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.64,267,1301900400"; d="scan'208";a="738449865" Received: from rui.sh.intel.com (HELO [10.239.36.62]) ([10.239.36.62]) by orsmga001.jf.intel.com with ESMTP; 26 Apr 2011 01:32:51 -0700 Subject: [PATCH 2/2] ACPI EC: enable MSI workaround for Quanta laptops From: Zhang Rui To: "Brown, Len" Cc: "linux-acpi@vger.kernel.org" , jan_braun@gmx.net, "Zhang, Rui" Date: Tue, 26 Apr 2011 16:30:02 +0800 Message-ID: <1303806602.28018.11.camel@rui> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 26 Apr 2011 08:33:23 +0000 (UTC) Enable MSI workaround for Quanta laptops. https://bugzilla.kernel.org/show_bug.cgi?id=20242 Tested-by: Jan-Matthias Braun Signed-off-by: Zhang Rui --- drivers/acpi/ec.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-2.6/drivers/acpi/ec.c =================================================================== --- linux-2.6.orig/drivers/acpi/ec.c +++ linux-2.6/drivers/acpi/ec.c @@ -936,6 +936,14 @@ static struct dmi_system_id __initdata e ec_flag_msi, "MSI hardware", { DMI_MATCH(DMI_CHASSIS_VENDOR, "MICRO-STAR")}, NULL}, { + ec_flag_msi, "Quanta hardware", { + DMI_MATCH(DMI_SYS_VENDOR, "Quanta"), + DMI_MATCH(DMI_PRODUCT_NAME, "TW8/SW8/DW8"),}, NULL}, + { + ec_flag_msi, "Quanta hardware", { + DMI_MATCH(DMI_SYS_VENDOR, "Quanta"), + DMI_MATCH(DMI_PRODUCT_NAME, "TW9/SW9"),}, NULL}, + { ec_validate_ecdt, "ASUS hardware", { DMI_MATCH(DMI_BIOS_VENDOR, "ASUS") }, NULL}, {},