public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Re: [RFC]convert ACPI driver model to Linux driver model - takes 2
@ 2005-10-13  8:28 mika.penttila-9Aww8k/80nUxHbG02/KK1g
       [not found] ` <20051013082813.PZFN24578.fep01-app.kolumbus.fi-7B1qVitd7rZYRdgNIgFt/t8DI8KqlI9s@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: mika.penttila-9Aww8k/80nUxHbG02/KK1g @ 2005-10-13  8:28 UTC (permalink / raw)
  To: Shaohua Li; +Cc: acpi-dev, Len, Dominik Brodowski, Adam Belay


> 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?

--Mika




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

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

* Re: Re: [RFC]convert ACPI driver model to Linux driver model - takes 2
       [not found] ` <20051013082813.PZFN24578.fep01-app.kolumbus.fi-7B1qVitd7rZYRdgNIgFt/t8DI8KqlI9s@public.gmane.org>
@ 2005-10-13  8:40   ` Shaohua Li
  0 siblings, 0 replies; 2+ messages in thread
From: Shaohua Li @ 2005-10-13  8:40 UTC (permalink / raw)
  To: mika.penttila-9Aww8k/80nUxHbG02/KK1g
  Cc: acpi-dev, Len, Dominik Brodowski, Adam Belay

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

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

end of thread, other threads:[~2005-10-13  8:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox