From patchwork Wed Mar 18 08:36:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhao, Yakui" X-Patchwork-Id: 12776 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2I8ZQWm022357 for ; Wed, 18 Mar 2009 08:35:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752462AbZCRIf0 (ORCPT ); Wed, 18 Mar 2009 04:35:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752680AbZCRIf0 (ORCPT ); Wed, 18 Mar 2009 04:35:26 -0400 Received: from mga11.intel.com ([192.55.52.93]:56412 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752462AbZCRIfZ (ORCPT ); Wed, 18 Mar 2009 04:35:25 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 18 Mar 2009 01:32:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.38,383,1233561600"; d="scan'208";a="673859504" Received: from yakui_zhao.sh.intel.com (HELO [10.239.36.170]) ([10.239.36.170]) by fmsmga001.fm.intel.com with ESMTP; 18 Mar 2009 01:39:09 -0700 Subject: [patch]: ACPI: Add the Pansonic CF51 box to the dmi check table From: yakui_zhao To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org Organization: Intel Open Source Technology Center Date: Wed, 18 Mar 2009 16:36:25 +0800 Message-Id: <1237365385.3640.43.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Subject: ACPI: Add the Pansonic CF51 box to the dmi check table From: Zhao Yakui The Pansonic CF51-2L box can't be resumed if the boot option of "acpi_sleep=old_ordering" is not added. Add the Pansonic CF51-2L to the dmi check table so that the old suspend order is used. http://bugzilla.kernel.org/show_bug.cgi?id=12561 Signed-off-by: Zhao Yakui --- drivers/acpi/sleep.c | 9 +++++++++ 1 file changed, 9 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/sleep.c =================================================================== --- linux-2.6.orig/drivers/acpi/sleep.c 2009-03-10 10:54:41.000000000 +0800 +++ linux-2.6/drivers/acpi/sleep.c 2009-03-10 11:39:42.000000000 +0800 @@ -378,6 +378,15 @@ DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"), }, }, + { + .callback = init_old_suspend_ordering, + .ident = "Pansonic CF51-2L", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, + "Matsushita Electric Industrial Co.,Ltd."), + DMI_MATCH(DMI_BOARD_NAME, "CF51-2L"), + }, + }, {}, }; #endif /* CONFIG_SUSPEND */