From d0e49918a667b655229f406bf6aae8a4964754f4 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Mon, 10 Jul 2006 20:11:29 +0000 Subject: [PATCH] Attach amdpm timer on AMD8111 too, as was suggested by Nicolas Joly. --- sys/dev/pci/amdpm.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/dev/pci/amdpm.c b/sys/dev/pci/amdpm.c index ba21782d5b93..4d5caa98ce95 100644 --- a/sys/dev/pci/amdpm.c +++ b/sys/dev/pci/amdpm.c @@ -1,4 +1,4 @@ -/* $NetBSD: amdpm.c,v 1.15 2006/07/10 20:03:42 christos Exp $ */ +/* $NetBSD: amdpm.c,v 1.16 2006/07/10 20:11:29 xtraeme Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: amdpm.c,v 1.15 2006/07/10 20:03:42 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: amdpm.c,v 1.16 2006/07/10 20:11:29 xtraeme Exp $"); #include "opt_amdpm.h" @@ -154,8 +154,7 @@ amdpm_attach(struct device *parent, struct device *self, void *aux) } #ifdef __HAVE_TIMECOUNTER - if ((confreg & AMDPM_TMRRST) == 0 && (confreg & AMDPM_STOPTMR) == 0 && - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_AMD_PBC768_PMC) { + if ((confreg & AMDPM_TMRRST) == 0 && (confreg & AMDPM_STOPTMR) == 0) { aprint_normal("%s: %d-bit timer at %" PRIu64 "Hz\n", sc->sc_dev.dv_xname, (confreg & AMDPM_TMR32) ? 32 : 24,