From: pirofti Date: Sat, 19 Jul 2014 12:54:09 +0000 (+0000) Subject: Backout pci_dopm usage as it also breaks reboot on Lemote's. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6658f7aec17ca41e5b3a874d91ccbadfc9b53ce4;p=openbsd Backout pci_dopm usage as it also breaks reboot on Lemote's. Noticed by matthieu@. --- 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 #include -#include /* pci_dopm */ - #include #include @@ -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"); }