public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* How should I handle device with two PNP-BIOS ids?
@ 2009-01-26  9:21 Krzysztof Helt
  2009-01-26 22:13 ` Bjorn Helgaas
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Helt @ 2009-01-26  9:21 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-02-05  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26  9:21 How should I handle device with two PNP-BIOS ids? Krzysztof Helt
2009-01-26 22:13 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox