svn commit: r357916 - stable/12/sys/dev/acpica
Konstantin Belousov
kib at FreeBSD.org
Fri Feb 14 13:25:38 UTC 2020
Author: kib
Date: Fri Feb 14 13:25:37 2020
New Revision: 357916
URL: https://svnweb.freebsd.org/changeset/base/357916
Log:
MFC r357669:
acpi_hpet: Add Hygon Dhyana support.
Modified:
stable/12/sys/dev/acpica/acpi_hpet.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/acpica/acpi_hpet.c
==============================================================================
--- stable/12/sys/dev/acpica/acpi_hpet.c Fri Feb 14 13:22:38 2020 (r357915)
+++ stable/12/sys/dev/acpica/acpi_hpet.c Fri Feb 14 13:25:37 2020 (r357916)
@@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$");
#define HPET_VENDID_AMD 0x4353
#define HPET_VENDID_AMD2 0x1022
+#define HPET_VENDID_HYGON 0x1d94
#define HPET_VENDID_INTEL 0x8086
#define HPET_VENDID_NVIDIA 0x10de
#define HPET_VENDID_SW 0x1166
@@ -604,7 +605,8 @@ hpet_attach(device_t dev)
* properly, that makes it very unreliable - it freezes after any
* interrupt loss. Avoid legacy IRQs for AMD.
*/
- if (vendor == HPET_VENDID_AMD || vendor == HPET_VENDID_AMD2)
+ if (vendor == HPET_VENDID_AMD || vendor == HPET_VENDID_AMD2 ||
+ vendor == HPET_VENDID_HYGON)
sc->allowed_irqs = 0x00000000;
/*
* NVidia MCP5x chipsets have number of unexplained interrupt
More information about the svn-src-stable-12
mailing list