Fix a hang during boot.
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Fri, 19 Jan 2007 23:58:53 +0000 (23:58 +0000)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Fri, 19 Jan 2007 23:58:53 +0000 (23:58 +0000)
commit02c23cd5ae1078db6bc9e393ebfc41320d60fbdf
tree55b118c750d8c56d4b1ae2422d785b4184938b6d
parentc34dd8ac5f430f3cdba718cbe8f2db309dd7ae63
Fix a hang during boot.
MaxDepth argument to AcpiOsCacheCreate() is `maximum number of
unallocated objects', not `maximum number of allocatable objects'.
This resulted in what seemed to be a hang if the number of objects
in a cache exceeded ACPI_MAX_*_CACHE_DEPTH(currently 96).

Tracked-down-by: Simon 'corecode' Schubert <corecode at fs.ei.tum.de>
Tested-by: Johannes Hofmann <Johannes.Hofmann at gmx.de>
sys/dev/acpica5/Osd/OsdCache.c