summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-08-30 09:37:15 +0000
committermpi <mpi@openbsd.org>2014-08-30 09:37:15 +0000
commite26d369e984e42be7caa3cb3abbccd75a71108d5 (patch)
treeaa2664016252129220794f19acdff95f40104bd2
parentRewrite how queue heads are inserted and removed from the asynchronous (diff)
downloadwireguard-openbsd-e26d369e984e42be7caa3cb3abbccd75a71108d5.tar.xz
wireguard-openbsd-e26d369e984e42be7caa3cb3abbccd75a71108d5.zip
Bump the fan limit and avoid a panic on my quad G5.
-rw-r--r--sys/arch/macppc/dev/smu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/smu.c b/sys/arch/macppc/dev/smu.c
index 8b51078a653..129b364e202 100644
--- a/sys/arch/macppc/dev/smu.c
+++ b/sys/arch/macppc/dev/smu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smu.c,v 1.24 2014/03/29 18:09:29 guenther Exp $ */
+/* $OpenBSD: smu.c,v 1.25 2014/08/30 09:37:15 mpi Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -37,7 +37,7 @@
int smu_match(struct device *, void *, void *);
void smu_attach(struct device *, struct device *, void *);
-#define SMU_MAXFANS 3
+#define SMU_MAXFANS 8
struct smu_fan {
u_int8_t reg;