From patchwork Tue Jun 8 07:28:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhang Rui X-Patchwork-Id: 104894 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o587SGUM004405 for ; Tue, 8 Jun 2010 07:28:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751999Ab0FHH2P (ORCPT ); Tue, 8 Jun 2010 03:28:15 -0400 Received: from mga01.intel.com ([192.55.52.88]:63719 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751864Ab0FHH2P (ORCPT ); Tue, 8 Jun 2010 03:28:15 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 08 Jun 2010 00:24:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.53,383,1272870000"; d="scan'208";a="574283154" Received: from rzhang1-desktop.sh.intel.com (HELO [10.239.36.107]) ([10.239.36.107]) by fmsmga002.fm.intel.com with ESMTP; 08 Jun 2010 00:26:58 -0700 Subject: [PATCH] ACPI: Disable Vista compatibility for Sony VGN-NS50B_L From: Zhang Rui To: "Brown, Len" Cc: "linux-acpi@vger.kernel.org" , "Zhang, Rui" , harestomper@gmail.com Date: Tue, 08 Jun 2010 15:28:40 +0800 Message-ID: <1275982120.19052.11515.camel@rzhang1-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 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.3 (demeter.kernel.org [140.211.167.41]); Tue, 08 Jun 2010 07:28:16 +0000 (UTC) Index: linux-2.6/drivers/acpi/blacklist.c =================================================================== --- linux-2.6.orig/drivers/acpi/blacklist.c +++ linux-2.6/drivers/acpi/blacklist.c @@ -218,6 +218,14 @@ static struct dmi_system_id acpi_osi_dmi }, }, { + .callback = dmi_disable_osi_vista, + .ident = "VGN-NS50B_L", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "VGN-NS50B_L"), + }, + }, + { .callback = dmi_disable_osi_win7, .ident = "ASUS K50IJ", .matches = {