DragonFly BSD

CVS log for src/sys/dev/acpica5/acpi_cmbat.c

[BACK] Up to [DragonFly] / src / sys / dev / acpica5

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Sep 29 06:59:45 2008 UTC (5 years, 10 months ago) by hasso
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.11: preferred, unified
Changes since revision 1.11: +224 -420 lines
Update acpi_battery(4) related code to the latest one from FreeBSD HEAD.

Obtained-from: FreeBSD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Oct 23 03:04:48 2007 UTC (6 years, 9 months ago) by y0netan1
Branches: MAIN
CVS tags: DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12, DragonFly_Preview
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +3 -3 lines
Merge ACPI resource manager changes From FreeBSD:

acpi.c,v 1.158, acpivar.h,v 1.70
  Associate a device_t with an ACPI_HANDLE.  This make AcpiWalkNamespace more
  useful.  If ACPI-CA allowed null object handlers, we wouldn't need the
  placeholder function.

acpi.c,v 1.159-1.160 and others:
  Add support to ACPI to manage its own resources.  Previously, resource
  allocation was passed up to nexus.  Now, we probe sysresource objects and
  manage the resources they describe in a local rman pool.  This helps
  devices which attach/detach varying resources (like the _CST object) and
  module loads/unloads.  The allocation/release routines now check to see if
  the resource is described in a child sysresource object and if so,
  allocate from the local rman.  Sysresource objects add their resources to
  the pool and reserve them upon boot.  This means sysresources need to be
  probed before other ACPI devices.

  Changes include:
  * Add ordering to the child device probe.  The current order is:  system
  resource objects, embedded controllers, then everything else.
  * Make acpi_MatchHid take a handle instead of a device_t arg.
  * Replace acpi_{get,set}_resource with the generic equivalents.

acpi.c,v 1.175:
  Call device_identify routines after doing the namespace walk.  This is
  needed so that sysresource objects are created first to reserve all regions,
  then other devices can allocate from them.  Otherwise, acpi_timer (the only
  ACPI device with an identify routine), would allocate its resources from
  the nexus, causing the later sysresource reserve to fail.

  Debugging by:   Taku YAMAMOTO, Andrea Campi

And add ACPI attachment to some devices trying to obtain resources
from the ISA bus.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jan 17 17:31:19 2007 UTC (7 years, 6 months ago) by y0netan1
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8, DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10
Diff to: previous 1.9: preferred, unified
Changes since revision 1.9: +3 -3 lines
Update ACPI build wrappers to use new ACPI-CA code.
* many fixes in ACPI-CA code (see changes.txt for detail)

* enable interpreter slack code
  relaxed checking on AML code to get fewer warnings

* use OS implementation of spinlock and cache object:
  OSL cache code by:
	  Jeffrey Hsu <hsu@dragonflybsd.org>
  Fix to semaphore and locking code:
	  Simon 'corecode' Schubert <corecode@fs.ei.tum.de>

* added a few debugging knobs(on make command line):
  ACPI_DEBUG_LOCKS=yes to activate debugging code for AcpiOs*Lock()
  ACPI_DEBUG_MEMMAP=yes to activate debugging code for AcpiOs*MapMemory()

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Oct 25 20:55:52 2006 UTC (7 years, 9 months ago) by dillon
Branches: MAIN
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +0 -2 lines
Do a major clean-up of the BUSDMA architecture.  A large number of
essentially machine-independant drivers use the structures and definitions
in machine-dependant directories that are really machine-independant in
nature.

Split <machine/bus_dma.h> into machine-depdendant and machine-independant parts
and make the primary access run through <sys/bus_dma.h>.

Remove <machine/bus.h>, <machine/bus_memio.h> and <machine/bus_pio.h>.  The
optimizations related to bus_memio.h and bus_pio.h made a huge mess,
introduced machine-specific knowledge into essentially machine-independant
drivers, and required specific #include file orderings to do their job.
They may be reintroduced in some other form later on.

Move <machine/resource.h> to <sys/bus_resource.h>.  The contents of the file
is machine-independant or can be made a superset across many platforms.

Make <sys/bus.h> include <sys/bus_dma.h> and <sys/bus_resource.h> and
include <sys/bus.h> where necessary. Remove all #include's of
<machine/resource.h> and <machine/bus.h>.  That is, make the BUSDMA
infrastructure integral to I/O-mapped and memory-mapped accesses to devices
and remove a large chunk of machine-specific dependancies from drivers.
bus_if.h and device_if.h are now required to be present when using <sys/bus.h>.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 5 03:48:09 2006 UTC (7 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +1 -1 lines
Rename malloc->kmalloc, free->kfree, and realloc->krealloc.  Pass 2

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Sep 5 00:55:36 2006 UTC (7 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +1 -1 lines
Rename malloc->kmalloc, free->kfree, and realloc->krealloc.  Pass 1

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Mar 12 14:33:40 2005 UTC (9 years, 4 months ago) by y0netan1
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6, DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +1 -1 lines
Update ACPI build wrappers to use new ACPICA code.

Submitted-by: Craig Dooley <xlnxminusx [at] gmail.com>

Add a small patch for userland ACPI tools by me, to compile
osunixxf.c . The absence of working AeLocalGetRootPointer() only
affects AcpiOsGetRootPointer() in userland ACPI tools. For kernel
module it's implemented in /sys/${ARCH}/acpica5/OsdEnvironment.c .
The callers of AcpiOsGetRootPointer() properly check anyway to see
if the returned pointer is valid, so making it no-op doesn't make
a problem.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Aug 2 19:51:07 2004 UTC (9 years, 11 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +1 -1 lines
Rip out the badly designed softint-based taskqueue used by ACPI for callbacks.
This was deadlocking tsleep() calls made from AcpiOsSleep() when early ACPI
interrupts occured, such as when a laptop is booted without AC connected.

Use a kernel thread and LWKT messaging to queue callbacks requests and add
code to use DELAY instead of tsleep() for calls made to AcpiOsSleep() in
early boot before the system timeout/ticks subsystem is initialized.

Fix two bugged AcpiOsSleep() calls that were sleeping for 10 seconds instead
of 10 milliseconds.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jul 5 00:07:35 2004 UTC (10 years ago) by dillon
Branches: MAIN
CVS tags: DragonFly_1_0_REL, DragonFly_1_0A_REL
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +2 -1 lines
acpica5 update part 1/3:  Implement support for acpica-unix-20040527.

Submitted-by: YONETANI Tomokazu <qhwt+dragonfly-submit@les.ath.cx>

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jun 27 08:52:39 2004 UTC (10 years, 1 month ago) by dillon
Branches: MAIN
CVS tags: DragonFly_1_0_RC1
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +2 -1 lines
Bring in YONETANI Tomokazu's acpi-update-2.patch (27-May-2004), a major
update to acpica5 support in the system that fixes more issues that can
be counted on 12, er, 10 fingers.

Submitted-by: YONETANI Tomokazu <qhwt+dragonfly-bugs@les.ath.cx>

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed May 5 22:19:24 2004 UTC (10 years, 2 months ago) by dillon
Branches: MAIN
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +1 -5 lines
Use M_INTWAIT instead of M_NOWAIT for the rest of the acpica support code.
Also remove (now unneeded) NULL checks.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Feb 21 06:48:08 2004 UTC (10 years, 5 months ago) by dillon
Branches: MAIN
Bring in the FreeBSD-5 ACPICA code as a module.  Note: not hooked up yet,
still under development.  Also note that the original ACPICA code is being
left intact.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options