From: Shaohua Li <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: mika.penttila-9Aww8k/80nUxHbG02/KK1g@public.gmane.org
Cc: acpi-dev
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
Len <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Dominik Brodowski <linux-JhLEnvuH02M@public.gmane.org>,
Adam Belay <ambx1-IBH0VoN/3vPQT0dZR+AlfA@public.gmane.org>
Subject: Re: Re: [RFC]convert ACPI driver model to Linux driver model - takes 2
Date: Thu, 13 Oct 2005 16:40:38 +0800 [thread overview]
Message-ID: <1129192838.10268.4.camel@linux-hp.sh.intel.com> (raw)
In-Reply-To: <20051013082813.PZFN24578.fep01-app.kolumbus.fi-7B1qVitd7rZYRdgNIgFt/t8DI8KqlI9s@public.gmane.org>
On Thu, 2005-10-13 at 11:28 +0300, mika.penttila-9Aww8k/80nUxHbG02/KK1g@public.gmane.org wrote:
> > On Thu, 2005-10-13 at 11:18 +0300, mika.penttila-9Aww8k/80nUxHbG02/KK1g@public.gmane.org wrote:
> > > >+/* this driver is linking acpi device with acpi phys device */
> > > >+static struct acpi_driver dummy_driver = {
> > > >+ .name = "acpi_dummy",
> > > >+ /* List all ids of ACPI phys devices */
> > > >+ .ids =
> > > >+// "PNP0C09," /* EC */
> > > >+// "ACPI0003," /* AC */
> > > >+// "PNP0C0F," /* Link */
> > > >+// "PNP0C0A," /* battery */
> > > >+// "PNP0C0C,PNP0C0E,PNP0C0D,ACPI_FPB,ACPI_FSB," /* button */
> > > >+// "PNP0C0B," /* fan */
> > > >+// "PNP0A03," /* PCI root */
> > > >+// ACPI_POWER_HID"," /* power */
> > > >+// ACPI_PROCESSOR_HID"," /* CPU */
> > > >+// ACPI_THERMAL_HID"," /* thermal */
> > > >+ "",
> > > >+ .ops = {
> > > >+ .add = acpi_phys_bus_add,
> > > >+ .remove = acpi_phys_bus_remove,
> > > >+ },
> > > >+};
> > >
> > > Are those ids meant to be commented out in the dummy driver?
> > The patch is just to show my idea not for merging, so there is some
> > debug info. Please ignore them currently. I'm sorry I didn't mention
> > this in previous email.
> >
> > Thanks,
> > Shaohua
> >
> >
> That's ok, but the idea still is to list all ACPI phys devices there?
Yes. We could remove the comment after the driver converts to the new
style. We could do this one by one.
Thanks,
Shaohua
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
prev parent reply other threads:[~2005-10-13 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-13 8:28 Re: [RFC]convert ACPI driver model to Linux driver model - takes 2 mika.penttila-9Aww8k/80nUxHbG02/KK1g
[not found] ` <20051013082813.PZFN24578.fep01-app.kolumbus.fi-7B1qVitd7rZYRdgNIgFt/t8DI8KqlI9s@public.gmane.org>
2005-10-13 8:40 ` Shaohua Li [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=1129192838.10268.4.camel@linux-hp.sh.intel.com \
--to=shaohua.li-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ambx1-IBH0VoN/3vPQT0dZR+AlfA@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=linux-JhLEnvuH02M@public.gmane.org \
--cc=mika.penttila-9Aww8k/80nUxHbG02/KK1g@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