-/* $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.
#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>
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");
}