summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-08-29 09:32:10 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-08-29 09:32:10 +0000
commit44c9c5c9a934a613142076a83821b9d26da4d2e7 (patch)
tree2a18a5ef483df3f8f4eec136257554437b4a8a20 /sys/arch/sparc64/include
parent48c7213316b73ff2e4f8b90d46f9f676ca752e2a (diff)
Implement pci_min_powerstate().
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/pci_machdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/pci_machdep.h b/sys/arch/sparc64/include/pci_machdep.h
index 3240314871b..676c42fb5e3 100644
--- a/sys/arch/sparc64/include/pci_machdep.h
+++ b/sys/arch/sparc64/include/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.30 2011/10/10 19:42:36 miod Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.31 2012/08/29 09:32:09 kettenis Exp $ */
/* $NetBSD: pci_machdep.h,v 1.7 2001/07/20 00:07:14 eeh Exp $ */
/*
@@ -104,6 +104,8 @@ int sparc64_pci_enumerate_bus(struct pci_softc *,
#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) do { } while (0)