From: matthieu castet <castet.matthieu-GANU6spQydw@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Bjorn Helgaas <bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>,
Adam Belay <ambx1-IBH0VoN/3vPQT0dZR+AlfA@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Shaohua Li <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org>
Subject: [PATCH - Resend] PNPACPI: only parse device that have CRS method
Date: Sun, 11 Sep 2005 12:12:31 +0200 [thread overview]
Message-ID: <4324030F.3090406@free.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
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
[-- Attachment #2: pnpacpi_nocrs.patch --]
[-- Type: text/x-patch, Size: 581 bytes --]
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;
WARNING: multiple messages have this Message-ID (diff)
From: matthieu castet <castet.matthieu@free.fr>
To: acpi-devel@lists.sourceforge.net
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>,
Adam Belay <ambx1@neo.rr.com>,
linux-kernel@vger.kernel.org, Shaohua Li <shaohua.li@intel.com>,
Andrew Morton <akpm@osdl.org>
Subject: [PATCH - Resend] PNPACPI: only parse device that have CRS method
Date: Sun, 11 Sep 2005 12:12:31 +0200 [thread overview]
Message-ID: <4324030F.3090406@free.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
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
[-- Attachment #2: pnpacpi_nocrs.patch --]
[-- Type: text/x-patch, Size: 581 bytes --]
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;
next reply other threads:[~2005-09-11 10:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-11 10:12 matthieu castet [this message]
2005-09-11 10:12 ` [PATCH - Resend] PNPACPI: only parse device that have CRS method matthieu castet
2005-09-11 16:54 ` Meelis Roos
2005-09-11 17:06 ` matthieu castet
2005-09-11 18:44 ` Meelis Roos
2005-09-12 14:39 ` Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4324030F.3090406@free.fr \
--to=castet.matthieu-ganu6spqydw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=akpm-3NddpPZAyC0@public.gmane.org \
--cc=ambx1-IBH0VoN/3vPQT0dZR+AlfA@public.gmane.org \
--cc=bjorn.helgaas-VXdhtT5mjnY@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.