From: Pierre Ossman <drzeus-list-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
To: Pavel Machek <pavel-AlSwsSmVLrQ@public.gmane.org>
Cc: ACPI devel list
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: ACPI to driver connection
Date: Fri, 17 Sep 2004 09:06:53 +0200 [thread overview]
Message-ID: <414A8D0D.9080200@drzeus.cx> (raw)
In-Reply-To: <20040913223952.GB28524-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
Pavel Machek wrote:
>Hi!
>
>
>
>>I'm currently writing a driver for a sd card reader. This reader is
>>present in the ACPI DSDT tree and can be identified there using the EISA
>>PNP id. I'm not all too familiar with exactly how ACPI works and even
>>less how ACPI works on linux so my question is this. Is there anything
>>my driver should do to associate the entries in the DSDT with the
>>device? Perhaps there are methods that should be called or similar? I do
>>not have the time to study ACPI in detail so I'd appreciate any help.
>>
>>
>
>See for example battery.c driver -- it detects battery based on PNP
>id.
> Pavel
>
>
The acpi_device doesn't seem to be connected to a "normal" device
structure. Is the intention that one should register with the ACPI
subsystem, wait for the add routine to be called and then add the device
as previously (to the platform bus in this case)?
/Pierre
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
prev parent reply other threads:[~2004-09-17 7:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-06 21:27 ACPI to driver connection Pierre Ossman
[not found] ` <413CD636.6090409-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
2004-09-13 22:39 ` Pavel Machek
[not found] ` <20040913223952.GB28524-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-09-17 7:06 ` Pierre Ossman [this message]
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=414A8D0D.9080200@drzeus.cx \
--to=drzeus-list-p3sgcrwkh8cezlla646fqq@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=pavel-AlSwsSmVLrQ@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox