Remove check of numpst to allow more K8 variants to attach. The other

checks, including cpuid_is_k7(), will catch CPUs that really don't support
this method.

Submitted by:	Bruno Ducrot
Tested by:	Jari Kirma (kirma cs.hut.fi)
This commit is contained in:
Nate Lawson 2005-03-31 06:11:04 +00:00
parent ac1936dc13
commit 07b68f9266
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144380

View File

@ -636,7 +636,13 @@ pn_decode_pst(device_t dev)
default:
return (ENODEV);
case 0x14:
if (sc->pn_type != PN8_TYPE || psb->numpst != 1)
/*
* We can't be picky about numpst since at least
* some systems have a value of 1 and some have 2.
* We trust that cpuid_is_k7() will be better at
* catching that we're on a K8 anyway.
*/
if (sc->pn_type != PN8_TYPE)
return (EINVAL);
sc->vst = psb->settlingtime;
sc->rvo = PN8_PSB_TO_RVO(psb->res1),