CVS commit: src/sys/dev/acpi

2010-01-30 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Jan 30 18:07:06 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_acad.c Log Message: Add the _COMPONENT definition for ACPI_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/acpi/acpi_acad.c

CVS commit: src/sys/dev/acpi

2010-01-30 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Jan 31 06:10:53 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_bat.c acpi_button.c Log Message: Add detachment routines. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/dev/acpi/acpi_bat.c cvs rdiff

CVS commit: src/sys/dev/acpi

2010-01-30 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Jan 31 06:45:10 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_bat.c Log Message: Allocate the sensor structures dynamically. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/dev/acpi/acpi_bat.c

CVS commit: src/sys/dev/acpi

2010-01-30 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Jan 31 07:34:10 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_acad.c Log Message: Add detachment routine. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/acpi/acpi_acad.c Please note that diffs

CVS commit: src/sys/dev/acpi

2010-01-29 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Jan 29 11:23:25 UTC 2010 Modified Files: src/sys/dev/acpi: asus_acpi.c Log Message: Fix a memory leak in the resume handler. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/acpi/asus_acpi.c Please

CVS commit: src/sys/dev/acpi

2010-01-29 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Jan 29 12:22:00 UTC 2010 Modified Files: src/sys/dev/acpi: asus_acpi.c Log Message: If we failed to obtain the brightness level during suspend, do not try to restore it with a possible garbage value during resume. To

CVS commit: src/sys/dev/acpi

2010-01-27 Thread Matthias Drochner
Module Name:src Committed By: drochner Date: Wed Jan 27 22:17:28 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_bat.c Log Message: the Battery Present Rate is only required to be valid if the battery is discharging; it might make sense when charging, but it doesn't make

CVS commit: src/sys/dev/acpi

2010-01-24 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Jan 24 11:32:13 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_bat.c Log Message: * Reintroduce a state variable. From nj...@. * Always mark the charge state sensor as valid. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/acpi

2010-01-23 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Jan 23 13:32:45 UTC 2010 Modified Files: src/sys/dev/acpi: wmi_acpi.c Log Message: Correct the type also in the WMI write method. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/acpi/wmi_acpi.c

CVS commit: src/sys/dev/acpi

2010-01-23 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Jan 23 15:06:47 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_bat.c Log Message: Cleanup: * Remove ACPI_BAT_DEBUG. * Reduce the amount of error reporting. * Remove the internal bookkeeping flags. * Remove the

CVS commit: src/sys/dev/acpi

2010-01-21 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Jan 21 08:57:17 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_bat.c Log Message: In preparation for upcoming changes: * Provide proper definitions and use these. * Clarify the evaluation of _STA. * Mark the state of

CVS commit: src/sys/dev/acpi

2010-01-18 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jan 18 16:50:08 UTC 2010 Modified Files: src/sys/dev/acpi: acpidevs_data.h Log Message: regen. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/acpi/acpidevs_data.h Please note that diffs are not

CVS commit: src/sys/dev/acpi

2010-01-18 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jan 18 17:09:17 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_tz.c Log Message: Fix a minor bug where a reference handle is used for error reporting even though it may not be present. While here, convert few lines to

CVS commit: src/sys/dev/acpi

2010-01-18 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jan 18 17:34:37 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Ensure that the return string is NUL-terminated in acpi_eval_string(). ok jmcneill@, pgoyette@ To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/acpi

2010-01-18 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jan 18 18:06:31 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c acpivar.h Log Message: Introduce acpi_eval_reference_handle() -- an utility function to evaluate reference handles from package elements. ok jmcneill@,

CVS commit: src/sys/dev/acpi

2010-01-18 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jan 18 18:36:50 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_ec.c acpi_powerres.c acpi_tz.c Log Message: Use acpi_eval_reference_handle() to simplify code. No functional change. ok jmcneill@, pgoyette@ To generate a

CVS commit: src/sys/dev/acpi

2010-01-18 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jan 18 18:49:28 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Fix and improve several comments. To generate a diff of this commit: cvs rdiff -u -r1.146 -r1.147 src/sys/dev/acpi/acpi.c Please note that

CVS commit: src/sys/dev/acpi

2010-01-12 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Jan 12 12:21:04 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Properly evaluate the _PRW object in case we have a package inside a package. ok jmcneill@ To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/acpi

2010-01-09 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Jan 9 15:34:59 UTC 2010 Modified Files: src/sys/dev/acpi: wmi_acpi.c Log Message: Fix the casts in the event handler. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/acpi/wmi_acpi.c Please note

CVS commit: src/sys/dev/acpi

2010-01-09 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Jan 9 15:43:12 UTC 2010 Modified Files: src/sys/dev/acpi: acpi.c Log Message: Add ACPI fans to the list of ignored HIDs, as discussed on port-i...@. To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143

CVS commit: src/sys/dev/acpi

2010-01-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Jan 5 13:47:52 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_tz.c Log Message: Fix a memory leak/corruption by commenting out the evaluation of the _PSL control method. If it is needed in the future, the output buffer must

CVS commit: src/sys/dev/acpi

2010-01-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jan 4 09:34:47 UTC 2010 Modified Files: src/sys/dev/acpi: wmi_acpi.c wmi_acpivar.h Log Message: Cleanup: - Provide the module declaration and use ACPI_FREE as well as ACPI_ALLOCATE_LOCAL_BUFFER for

CVS commit: src/sys/dev/acpi

2010-01-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jan 4 09:43:30 UTC 2010 Modified Files: src/sys/dev/acpi: wmi_acpi.c wmi_acpivar.h Log Message: Two bug fixes: - Use ACPI_ALL_NOTIFY instead of ACPI_DEVICE_NOTIFY. - Fix the data query method: this fails

CVS commit: src/sys/dev/acpi

2010-01-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jan 4 10:06:53 UTC 2010 Modified Files: src/sys/dev/acpi: wmi_acpi.c wmi_acpivar.h Log Message: Update the copyright. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/wmi_acpi.c cvs rdiff -u

CVS commit: src/sys/dev/acpi

2010-01-01 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jan 1 15:55:30 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_tz.c Log Message: Don't set sensor state to SWARNOVER here. Doing so based only on the device's active cooling levels prevents the user from overriding these

Re: CVS commit: src/sys/dev/acpi

2009-12-03 Thread Jason Thorpe
On Dec 3, 2009, at 1:04 PM, Christoph Egger wrote: Module Name: src Committed By: cegger Date: Thu Dec 3 21:04:29 UTC 2009 Modified Files: src/sys/dev/acpi: acpi.c files.acpi Added Files: src/sys/dev/acpi: acpi_pci.c acpi_pci.h Log Message: Enumerate ACPI PCI

Re: CVS commit: src/sys/dev/acpi

2009-12-03 Thread David Young
On Thu, Dec 03, 2009 at 01:54:19PM -0800, Jason Thorpe wrote: On Dec 3, 2009, at 1:04 PM, Christoph Egger wrote: Module Name:src Committed By: cegger Date: Thu Dec 3 21:04:29 UTC 2009 Modified Files: src/sys/dev/acpi: acpi.c files.acpi Added

Re: CVS commit: src/sys/dev/acpi

2009-12-03 Thread Quentin Garnier
On Thu, Dec 03, 2009 at 04:18:52PM -0600, David Young wrote: On Thu, Dec 03, 2009 at 01:54:19PM -0800, Jason Thorpe wrote: On Dec 3, 2009, at 1:04 PM, Christoph Egger wrote: Module Name: src Committed By: cegger Date: Thu Dec 3 21:04:29 UTC 2009

Re: CVS commit: src/sys/dev/acpi

2009-12-03 Thread Christoph Egger
Paul Goyette wrote: On Fri, 4 Dec 2009, Quentin Garnier wrote: IMO, very few devices should attach at acpi, but autoconfiguration should use ACPI data, when it is available, for the direct configuration of devices that we would otherwise have to probe for. Was there ever a disagreement on

re: CVS commit: src/sys/dev/acpi

2009-12-03 Thread matthew green
Christoph - who wonder's why this discussion started after commit instead of after presenting the patch on tech-kern. partly, because you did not wait very long for comments. again. .mrg.

Re: CVS commit: src/sys/dev/acpi

2009-08-31 Thread David Brownlee
On Sun, 30 Aug 2009, David Brownlee wrote: From: Jared D. McNeill jmcne...@netbsd.org Log Message: PR# port-i386/39671: panic while booting with an acpi kernel on a 790GX board If the firmware describes duplicate keyboard controller nodes, don't panic when the driver fails to map registers.

Re: CVS commit: src/sys/dev/acpi

2009-08-30 Thread David Brownlee
From: Jared D. McNeill jmcne...@netbsd.org Modified Files: src/sys/dev/acpi: pckbc_acpi.c Log Message: PR# port-i386/39671: panic while booting with an acpi kernel on a 790GX board If the firmware describes duplicate keyboard controller nodes, don't panic when the driver fails to map

Re: CVS commit: src/sys/dev/acpi

2009-04-08 Thread Andrew Doran
On Wed, Apr 08, 2009 at 12:15:45AM +, David Young wrote: Modified Files: src/sys/dev/acpi: acpi_timer.c acpi_timer.h Log Message: Add acpitimer_detach() to eventually support acpi(4) detachment. tc_detach() does not work correctly on a running system. It can race with

Re: CVS commit: src/sys/dev/acpi

2009-04-07 Thread Jared D. McNeill
- From: David Young dyo...@netbsd.org Sent: Tuesday, April 07, 2009 8:23 PM To: source-changes-f...@netbsd.org Subject: CVS commit: src/sys/dev/acpi Module Name: src Committed By: dyoung Date: Wed Apr 8 00:23:30 UTC 2009 Modified Files: src/sys

Re: CVS commit: src/sys/dev/acpi/acpica

2009-03-31 Thread Andrew Doran
On Tue, Mar 31, 2009 at 05:17:47PM +, Matthias Drochner wrote: Module Name: src Committed By: drochner Date: Tue Mar 31 17:17:47 UTC 2009 Modified Files: src/sys/dev/acpi/acpica: OsdSchedule.c OsdSynch.c Log Message: avoid tsleep also during shutdown (and in

<    1   2   3   4