From: "Krzysztof Helt" <krzysztof.h1@wp.pl>
To: linux-kernel@vger.kernel.org
Subject: How should I handle device with two PNP-BIOS ids?
Date: Mon, 26 Jan 2009 10:21:29 +0100 [thread overview]
Message-ID: <497d80991ef709.35340258@wp.pl> (raw)
Hi,
There is brain-damaged sound chip which is identified by two separate
PNP ids. This was done probably to keep backward compatibility (the
first id is for the old type of chip, the second id gives only one
additional io range required for newer chips).
How to does properly detect such a device using the PNP framework?
Is there any way to specify two PNP ids as one device?
Is it better to iterate over a pnpbios protocol of the first device to
find out if there is the second id? This way has an advantage that I can
distinguish between old chip (no the second id found) and newer chips
(the second id found).
Thank you in advance answer,
Krzysztof
----------------------------------------------------
Kate Winslet i Leonardo DiCaprio znowu razem na ekranie!
DROGA DO SZCZĘŚCIA - w kinach od 30 stycznia.
Zobacz zwiastun: http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fszczescie.html&sid=624
next reply other threads:[~2009-01-26 9:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 9:21 Krzysztof Helt [this message]
2009-01-26 22:13 ` How should I handle device with two PNP-BIOS ids? Bjorn Helgaas
2009-01-27 8:42 ` Krzysztof Helt
2009-01-27 15:52 ` Bjorn Helgaas
2009-01-27 17:10 ` Krzysztof Helt
2009-01-27 17:17 ` Ville Syrjälä
2009-02-05 0:00 ` 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=497d80991ef709.35340258@wp.pl \
--to=krzysztof.h1@wp.pl \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox