summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/piixpcib.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-11-28 17:05:10 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-11-28 17:05:10 +0000
commit40089c4cad91e48d7c106fbd58b59ffb39242dbe (patch)
tree3a945b302739ca6429283b6efad61abff144d3e8 /sys/arch/i386/pci/piixpcib.c
parentf014b270eafa4135ebacbeeffa0eb330d4c555b5 (diff)
quite a bit of simplification by removing cpu classes.
also assume that 386 cpus are really unknown, and promote them to 486 instead of panic.
Diffstat (limited to 'sys/arch/i386/pci/piixpcib.c')
-rw-r--r--sys/arch/i386/pci/piixpcib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/pci/piixpcib.c b/sys/arch/i386/pci/piixpcib.c
index 20d63e8052a..9157e42c79e 100644
--- a/sys/arch/i386/pci/piixpcib.c
+++ b/sys/arch/i386/pci/piixpcib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: piixpcib.c,v 1.2 2007/05/29 02:40:24 tom Exp $ */
+/* $OpenBSD: piixpcib.c,v 1.3 2007/11/28 17:05:09 tedu Exp $ */
/*
* Copyright (c) 2007 Stefan Sperling <stsp@stsp.in-berlin.de>
@@ -116,7 +116,7 @@ void piixpcib_int15_gsic_call(struct piixpcib_softc *);
extern void pcibattach(struct device *, struct device *, void *);
/* arch/i386/i386/machdep.c */
-#if !defined(SMALL_KERNEL) && defined(I686_CPU)
+#if !defined(SMALL_KERNEL)
extern void p3_update_cpuspeed(void);
#endif
@@ -365,7 +365,7 @@ piixpcib_setperf(int level)
* There seems to be no reliable fix for this.
*/
delay(200);
-#if !defined(SMALL_KERNEL) && defined(I686_CPU)
+#if !defined(SMALL_KERNEL)
p3_update_cpuspeed();
#endif
}