From patchwork Fri May 22 03:35:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhang Rui X-Patchwork-Id: 25314 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 n4M3YcmT004428 for ; Fri, 22 May 2009 03:35:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752353AbZEVDfR (ORCPT ); Thu, 21 May 2009 23:35:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752451AbZEVDfR (ORCPT ); Thu, 21 May 2009 23:35:17 -0400 Received: from mga03.intel.com ([143.182.124.21]:29108 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752353AbZEVDfQ (ORCPT ); Thu, 21 May 2009 23:35:16 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 21 May 2009 20:35:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.41,231,1241420400"; d="scan'208";a="145708240" Received: from rzhang-dt.sh.intel.com (HELO [10.239.36.94]) ([10.239.36.94]) by azsmga001.ch.intel.com with ESMTP; 21 May 2009 20:35:16 -0700 Subject: [PATCH] X86: DMI match for the Sony VGN-Z540N as it needs BIOS reboot From: Zhang Rui To: Len Brown Cc: linux-acpi , "Zhang, Rui" Date: Fri, 22 May 2009 11:35:50 +0800 Message-Id: <1242963350.32574.53.camel@rzhang-dt> 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 Not sure where I should send the patch to. x86: DMI match for the Sony VGN-Z540N as it needs BIOS reboot http://bugzilla.kernel.org/show_bug.cgi?id=12901 Signed-off-by: Zhang Rui --- arch/x86/kernel/reboot.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/arch/x86/kernel/reboot.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/reboot.c +++ linux-2.6/arch/x86/kernel/reboot.c @@ -232,6 +232,14 @@ static struct dmi_system_id __initdata r DMI_MATCH(DMI_PRODUCT_NAME, "Dell DXP061"), }, }, + { /* Handle problems with rebooting on Sony VGN-Z540N */ + .callback = set_bios_reboot, + .ident = "Sony VGN-Z540N", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "VGN-Z540N"), + }, + }, { } };