summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-09-04 19:37:41 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-09-04 19:37:41 +0000
commit31a6b2db71fc54396bcf446811f8fb7e80caf5c9 (patch)
tree5a4774325891a9fc4227757c903d893bc12d46bb /sys
parentc2d76380d9ab2416032f540e49e7cb01e54c7a53 (diff)
Implement pci_min_powerstate().
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/pci/pci_machdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/alpha/pci/pci_machdep.h b/sys/arch/alpha/pci/pci_machdep.h
index 97e29450d16..6aa33abb62b 100644
--- a/sys/arch/alpha/pci/pci_machdep.h
+++ b/sys/arch/alpha/pci/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.26 2011/10/10 19:42:34 miod Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.27 2012/09/04 19:37:40 kettenis Exp $ */
/* $NetBSD: pci_machdep.h,v 1.6 1996/11/19 04:49:21 cgd Exp $ */
/*
@@ -116,6 +116,8 @@ int alpha_sysctl_chipset(int *, u_int, char *, size_t *);
(*(c)->pc_intr_disestablish)((c)->pc_intr_v, (iv))
#define pci_probe_device_hook(c, a) (0)
+#define pci_min_powerstate(c, t) (PCI_PMCSR_STATE_D3)
+
/*
* alpha-specific PCI functions.
* NOT TO BE USED DIRECTLY BY MACHINE INDEPENDENT CODE.