public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI support for add-on devices driver
@ 2003-02-06  5:16 siva
       [not found] ` <3E41EFA3.8060406-uxC5H9eHYlcAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: siva @ 2003-02-06  5:16 UTC (permalink / raw)
  To: acpi-devel-pyega4qmqnRoyOMFzWx49A

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

Hi all,

I like know what I need to do if I want to have ACPI power management 
support in my driver for an add-on device. When I am browsing APM 
implementation, I found that Linux kernel have general PM Interfaces 
like pm_regsiter and pm_unregsiter. In APM driver, pm_send is being 
called to send notification to all registered add-on devices.

In the case of ACPI, we have Device power state D0,D1,D2,D3. I like to 
know how the interface between the ACPI driver, PM interface and ADD-ON Driver happens.
Can any one please send me some details about it?

Thanks,
Siva







[-- Attachment #2: InterScan_Disclaimer.txt --]
[-- Type: text/plain, Size: 525 bytes --]

**************************Disclaimer**************************************************    
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************




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

* Re: ACPI support for add-on devices driver
       [not found] ` <3E41EFA3.8060406-uxC5H9eHYlcAvxtiuMwx3w@public.gmane.org>
@ 2003-02-06 10:36   ` Ducrot Bruno
  2003-02-06 11:44   ` Matthew Wilcox
  1 sibling, 0 replies; 3+ messages in thread
From: Ducrot Bruno @ 2003-02-06 10:36 UTC (permalink / raw)
  To: siva; +Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A

On Thu, Feb 06, 2003 at 10:46:19AM +0530, siva wrote:
> Hi all,
> 
> I like know what I need to do if I want to have ACPI power management 
> support in my driver for an add-on device. When I am browsing APM 
> implementation, I found that Linux kernel have general PM Interfaces 
> like pm_regsiter and pm_unregsiter. In APM driver, pm_send is being 
> called to send notification to all registered add-on devices.
> 
> In the case of ACPI, we have Device power state D0,D1,D2,D3. I like to 
> know how the interface between the ACPI driver, PM interface and ADD-ON 
> Driver happens.
> Can any one please send me some details about it?
> 

This is one of the main issue actually which is supposed to be somehow resolved
in 2.5 with the 'new device driver model' (and still have to be correctly
implemented, discuted, probably some flame war to come, etc.).

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

* Re: ACPI support for add-on devices driver
       [not found] ` <3E41EFA3.8060406-uxC5H9eHYlcAvxtiuMwx3w@public.gmane.org>
  2003-02-06 10:36   ` Ducrot Bruno
@ 2003-02-06 11:44   ` Matthew Wilcox
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Wilcox @ 2003-02-06 11:44 UTC (permalink / raw)
  To: siva; +Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A

On Thu, Feb 06, 2003 at 10:46:19AM +0530, siva wrote:
> I like know what I need to do if I want to have ACPI power management 
> support in my driver for an add-on device. When I am browsing APM 
> implementation, I found that Linux kernel have general PM Interfaces 
> like pm_regsiter and pm_unregsiter. In APM driver, pm_send is being 
> called to send notification to all registered add-on devices.

Presumably you're talking about a PCI device?  If so, you should implement the
`new-style' PCI driver interface (Documentation/pci.txt), and provide
implementations for ->suspend, ->resume and ->save_state.  Also see
Documentation/power/pci.txt.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

end of thread, other threads:[~2003-02-06 11:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-06  5:16 ACPI support for add-on devices driver siva
     [not found] ` <3E41EFA3.8060406-uxC5H9eHYlcAvxtiuMwx3w@public.gmane.org>
2003-02-06 10:36   ` Ducrot Bruno
2003-02-06 11:44   ` Matthew Wilcox

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