Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964856AbVIKKMe (ORCPT ); Sun, 11 Sep 2005 06:12:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964859AbVIKKMe (ORCPT ); Sun, 11 Sep 2005 06:12:34 -0400 Received: from smtp2-g19.free.fr ([212.27.42.28]:55750 "EHLO smtp2-g19.free.fr") by vger.kernel.org with ESMTP id S964856AbVIKKMe (ORCPT ); Sun, 11 Sep 2005 06:12:34 -0400 Message-ID: <4324030F.3090406@free.fr> Date: Sun, 11 Sep 2005 12:12:31 +0200 From: matthieu castet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: fr-fr, en, en-us MIME-Version: 1.0 To: acpi-devel@lists.sourceforge.net CC: Bjorn Helgaas , Adam Belay , linux-kernel@vger.kernel.org, Shaohua Li , Andrew Morton Subject: [PATCH - Resend] PNPACPI: only parse device that have CRS method Content-Type: multipart/mixed; boundary="------------060900080206010200080702" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1427 Lines: 46 This is a multi-part message in MIME format. --------------060900080206010200080702 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, this patch blacklist device that don't have CRS method as there are useless for pnp layer as they don't provide any resource. Please comment and consider for inclusion. Thanks, Matthieu --------------060900080206010200080702 Content-Type: text/x-patch; name="pnpacpi_nocrs.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pnpacpi_nocrs.patch" Index: linux-2.6.13rc/drivers/pnp/pnpacpi/core.c =================================================================== --- linux-2.6.13rc.orig/drivers/pnp/pnpacpi/core.c 2005-08-28 19:24:40.000000000 +0200 +++ linux-2.6.13rc/drivers/pnp/pnpacpi/core.c 2005-08-28 19:26:35.000000000 +0200 @@ -131,7 +131,8 @@ struct pnp_id *dev_id; struct pnp_dev *dev; - if (!ispnpidacpi(acpi_device_hid(device)) || + status = acpi_get_handle(device->handle, "_CRS", &temp); + if (ACPI_FAILURE(status) || !ispnpidacpi(acpi_device_hid(device)) || is_exclusive_device(device)) return 0; --------------060900080206010200080702-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/