Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New ACPI power resource code for testing




To: Masao Uebayashi <uebayasi%tombi.co.jp@localhost>

Subject: Re: New ACPI power resource code for testing

From: Paul Goyette <paul%whooppee.com@localhost>

Date: Sun, 7 Mar 2010 07:38:35 -0800 (PST)


Good point.

On Mon, 8 Mar 2010, Masao Uebayashi wrote:


Define acpi_power.c as a needs-flag (or needs-count) file, and include
the generated header file.  Then you can use #if <foo> preprocessor
directives to determine if you have the power device configured.  If
yes, then feel free to call the initialization code and to register the
consumers;  if not defined, but you find that you want to register a
consumer, report it using aprint_error_dev()


New code should not use needs-flag.  It's module-unfriendly. :)

Masao



-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


References:

New ACPI power resource code for testing
From: Jukka Ruohonen

Re: New ACPI power resource code for testing
From: Paul Goyette

Re: New ACPI power resource code for testing
From: Jukka Ruohonen

Re: New ACPI power resource code for testing
From: Paul Goyette

Re: New ACPI power resource code for testing
From: Jukka Ruohonen

Re: New ACPI power resource code for testing
From: Paul Goyette

Re: New ACPI power resource code for testing
From: Jukka Ruohonen

Re: New ACPI power resource code for testing
From: Paul Goyette

Re: New ACPI power resource code for testing
From: Masao Uebayashi




Prev by Date: Re: New ACPI power resource code for testing

Next by Date: Re: New ACPI power resource code for testing

Previous by Thread: Re: New ACPI power resource code for testing

Next by Thread: Re: New ACPI power resource code for testing

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index