summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-08-28 19:52:19 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-08-28 19:52:19 +0000
commit25652c9339aef32b63890c422085fee08c8f9177 (patch)
tree6fe93a50f571d63d26e4fc99eefe73a42a8ba896 /sys/arch
parent684c0fec62ea8bd2728a75c76c95bf8e9300cdc3 (diff)
Implement pci_min_powerstate().
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/powerpc/pci/pci_machdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/powerpc/pci/pci_machdep.h b/sys/arch/powerpc/pci/pci_machdep.h
index d277464e09d..99db8749e9a 100644
--- a/sys/arch/powerpc/pci/pci_machdep.h
+++ b/sys/arch/powerpc/pci/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.22 2011/10/10 19:42:36 miod Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.23 2012/08/28 19:52:18 kettenis Exp $ */
/*
* Copyright (c) 1996 Carnegie-Mellon University.
@@ -98,4 +98,6 @@ struct ppc_pci_chipset {
(*(c)->pc_ether_hw_addr)((c), (s))
#define pci_probe_device_hook(c, a) (0)
+#define pci_min_powerstate(c, t) (PCI_PMCSR_STATE_D3)
+
#define pci_dev_postattach(a, b)