From: "Mika Penttilä" <mika.penttila@kolumbus.fi>
To: Zhang Rui <rui.zhang@intel.com>
Cc: linux-acpi@vger.kernel.org, len.brown@intel.com, shaohua.li@intel.com
Subject: Re: [12/12] acpi: set fake hid
Date: Mon, 25 Sep 2006 12:40:26 +0300 [thread overview]
Message-ID: <4517A40A.9090106@kolumbus.fi> (raw)
In-Reply-To: <1159176682.5351.11.camel@localhost.localdomain>
Zhang Rui wrote:
> On Fri, 2006-09-22 at 14:59 +0300, Mika Penttilä wrote:
>
>> +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)
>>
>>
> Is there any pci-pci bridge that has a _HID of "PNP0A03"?
>
> thanks,
> --Rui
>
>
Don't know, but isn't the purpose here for acpi_pci_bridge_match() to
match pci-pci bridges also? They won't just because they aren't PNP0A03.
--Mika
-
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
next prev parent reply other threads:[~2006-09-25 9:38 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ä
2006-09-25 9:31 ` Zhang Rui
2006-09-25 9:40 ` Mika Penttilä [this message]
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=4517A40A.9090106@kolumbus.fi \
--to=mika.penttila@kolumbus.fi \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=rui.zhang@intel.com \
--cc=shaohua.li@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