summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2014-07-19 12:54:10 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2014-07-19 12:54:10 +0000
commita7a96ad3aa8feee26b9cb893bdebd531f7c266eb (patch)
treeb0118fab35227a1b4a3f3eef73fb051ab898726f
parente10f914f3e50391e0ac9d21b0d80886b4fa2d86f (diff)
Backout pci_dopm usage as it also breaks reboot on Lemote's.
Noticed by matthieu@.
-rw-r--r--sys/arch/loongson/dev/apm.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/loongson/dev/apm.c b/sys/arch/loongson/dev/apm.c
index 0e1556333be..4534e871215 100644
--- a/sys/arch/loongson/dev/apm.c
+++ b/sys/arch/loongson/dev/apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apm.c,v 1.21 2014/07/16 17:11:37 miod Exp $ */
+/* $OpenBSD: apm.c,v 1.22 2014/07/19 12:54:09 pirofti Exp $ */
/*-
* Copyright (c) 2001 Alexander Guy. All rights reserved.
@@ -51,8 +51,6 @@
#include <machine/cpu.h>
#include <machine/apmvar.h>
-#include <dev/pci/pcivar.h> /* pci_dopm */
-
#include <dev/wscons/wsdisplayvar.h>
#include <loongson/dev/kb3310var.h>
@@ -134,14 +132,6 @@ apmmatch(struct device *parent, void *match, void *aux)
void
apmattach(struct device *parent, struct device *self, void *aux)
{
- /*
- * Enable PCI Power Management, except on the Gdium, where this
- * prevents PMON from initializing the USB controller correctly
- * after a reboot.
- */
- if (sys_platform->system_type != LOONGSON_GDIUM)
- pci_dopm = 1;
-
printf("\n");
}