]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make table-based HPET identification more clever. Before creating fake
authorAlexander Motin <mav@FreeBSD.org>
Sun, 23 May 2010 07:53:22 +0000 (07:53 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Sun, 23 May 2010 07:53:22 +0000 (07:53 +0000)
commit3c4c08dce7cf4d12114ff81b4e41012257ed0d6c
treec1473a3a5ddd85f318428f739b6df78b06dbbf74
parent9f3b3fe64a64857942a19cd55de6777210f2b65f
Make table-based HPET identification more clever. Before creating fake
device, make sure we have no real HPET device entry with same ID.
As side effect, it potentially allows several HPETs to be attached.
Use first of them for timecounting, rest (if ever present) could later
be used as event sources.
sys/dev/acpica/acpi.c
sys/dev/acpica/acpi_hpet.c
sys/dev/acpica/acpivar.h