diff options
author | 2014-07-19 12:54:09 +0000 | |
---|---|---|
committer | 2014-07-19 12:54:09 +0000 | |
commit | 6658f7aec17ca41e5b3a874d91ccbadfc9b53ce4 (patch) | |
tree | 67a29c2277aeca3eba3ac8f5d821135a8440f7f2 | |
parent | Security fix: (diff) | |
download | wireguard-openbsd-6658f7aec17ca41e5b3a874d91ccbadfc9b53ce4.tar.xz wireguard-openbsd-6658f7aec17ca41e5b3a874d91ccbadfc9b53ce4.zip |
Backout pci_dopm usage as it also breaks reboot on Lemote's.
Noticed by matthieu@.
-rw-r--r-- | sys/arch/loongson/dev/apm.c | 12 |
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"); } |