From: "Mika Penttilä" <mika.penttila@kolumbus.fi>
To: Zhang Rui <rui.zhang@intel.com>
Cc: linux-acpi@vger.kernel.org, len.brown@intel.com
Subject: Re: [12/12] acpi: set fake hid
Date: Fri, 22 Sep 2006 14:59:38 +0300 [thread overview]
Message-ID: <4513D02A.8020106@kolumbus.fi> (raw)
In-Reply-To: <1158918880.11985.88.camel@localhost.localdomain>
+static int acpi_pci_bridge_match(struct acpi_device *device)
+{
+ acpi_status status;
+ acpi_handle handle;
+
+ /* pci bridge has _PRT but isn't PNP0A03 */
+ status = acpi_get_handle(device->handle, METHOD_NAME__PRT, &handle);
+ if (ACPI_FAILURE(status))
+ return -ENODEV;
+ if (!acpi_match_ids(device, "PNP0A03"))
+ return -ENODEV;
+ return 0;
+}
+
You seem to handle pci-pci bridge here incorrectly (returns -ENODEV from match to PNP0A03)
--Mika
next prev parent reply other threads:[~2006-09-22 11:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-22 9:54 [12/12] acpi: set fake hid Zhang Rui
2006-09-22 11:59 ` Mika Penttilä [this message]
2006-09-25 9:31 ` Zhang Rui
2006-09-25 9:40 ` Mika Penttilä
2006-09-25 9:58 ` Zhang Rui
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=4513D02A.8020106@kolumbus.fi \
--to=mika.penttila@kolumbus.fi \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=rui.zhang@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox