At least from A70M FCH chipsets AMD started to use their real vendor ID

(1022) in HPET. But according to report they still haven't fixed problem
with level-triggered interrupts.
Make workaround used for earlier chipsets apply to this new ID also.

PR:		amd64/171355
MFC after:	3 days
This commit is contained in:
Alexander Motin 2012-09-09 20:00:00 +00:00
parent d9e9650a36
commit df980c683c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240286

View File

@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
#endif
#define HPET_VENDID_AMD 0x4353
#define HPET_VENDID_AMD2 0x1022
#define HPET_VENDID_INTEL 0x8086
#define HPET_VENDID_NVIDIA 0x10de
#define HPET_VENDID_SW 0x1166
@ -505,7 +506,7 @@ 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)
if (vendor == HPET_VENDID_AMD || vendor == HPET_VENDID_AMD2)
sc->allowed_irqs = 0x00000000;
/*
* NVidia MCP5x chipsets have number of unexplained interrupt