summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-08-28 19:43:56 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-08-28 19:43:56 +0000
commit684c0fec62ea8bd2728a75c76c95bf8e9300cdc3 (patch)
tree61daa4186e9d26564756516d9215a05860ae8670 /sys/arch/hppa
parentfcbf5c8c7ee754fbc5c55c8791761a8563c6e1fd (diff)
Implement pci_min_powerstate().
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/include/pci_machdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/pci_machdep.h b/sys/arch/hppa/include/pci_machdep.h
index 0678674fe78..5d135f79759 100644
--- a/sys/arch/hppa/include/pci_machdep.h
+++ b/sys/arch/hppa/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/08/28 19:43:55 kettenis Exp $ */
/*
* Copyright (c) 2003 Michael Shalayeff
@@ -90,6 +90,8 @@ struct hppa_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))