John Baldwin c903c5fbae Use devclass_get_count() instead of devclass_get_maxunit() to get the
correct number of acpi_thermalX devices.  Having this wrong caused the
acpi_thermal thread to realloc the array of devices on each loop iteration.

MFC after:	1 week
PR:		kern/118497
Submitted by:	Pasi Parviainen
2007-12-31 15:56:03 +00:00
..
2007-08-04 17:43:11 +00:00
2007-11-26 18:17:07 +00:00
2007-12-25 19:51:18 +00:00
2007-10-12 06:03:46 +00:00
2007-02-23 19:27:49 +00:00
2007-10-15 20:00:24 +00:00
2007-10-12 06:03:46 +00:00
2007-03-21 03:42:51 +00:00
2007-12-07 17:21:53 +00:00
2007-12-31 11:44:01 +00:00
2007-02-23 19:34:52 +00:00
2007-10-12 06:03:46 +00:00
2007-07-05 06:51:49 +00:00
2007-06-08 01:54:22 +00:00
2007-03-21 03:42:51 +00:00
2007-12-05 19:32:59 +00:00