summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/dev/apm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/loongson/dev/apm.c')
-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");
}