summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-09-04 19:35:55 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-09-04 19:35:55 +0000
commitc2d76380d9ab2416032f540e49e7cb01e54c7a53 (patch)
tree1612c20fe5cb951c0fb11c79afb7ae93380344d7 /sys/arch/hppa64
parentaf1d6e1ef5d045fda635aed4b791869781761e1a (diff)
Implement pci_min_powerstate().
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r--sys/arch/hppa64/include/pci_machdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa64/include/pci_machdep.h b/sys/arch/hppa64/include/pci_machdep.h
index 122e508add2..5275051e3a5 100644
--- a/sys/arch/hppa64/include/pci_machdep.h
+++ b/sys/arch/hppa64/include/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.9 2011/10/10 19:42:36 miod Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.10 2012/09/04 19:35:54 kettenis Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -81,6 +81,8 @@ struct hppa64_pci_chipset_tag {
(*(c)->pc_intr_disestablish)((c)->_cookie, (iv))
#define pci_probe_device_hook(c, a) (0)
+#define pci_min_powerstate(c, t) (PCI_PMCSR_STATE_D3)
+
#define pciide_machdep_compat_intr_establish(a, b, c, d, e) (NULL)
#define pciide_machdep_compat_intr_disestablish(a, b) ((void)(a), (void)(b))