diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-08-29 09:17:56 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-08-29 09:17:56 +0000 |
commit | 48c7213316b73ff2e4f8b90d46f9f676ca752e2a (patch) | |
tree | aa1ecff3b7075ca92400a2af3f04b094b5e79409 /sys/arch/loongson | |
parent | 35e5985d099287130e26618293fbfd7109548e8d (diff) |
Implement pci_min_powerstate().
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r-- | sys/arch/loongson/include/pci_machdep.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/loongson/include/pci_machdep.h b/sys/arch/loongson/include/pci_machdep.h index 7ee2396b940..8381922ed4e 100644 --- a/sys/arch/loongson/include/pci_machdep.h +++ b/sys/arch/loongson/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.6 2011/10/10 19:42:36 miod Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.7 2012/08/29 09:17:55 kettenis Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -84,6 +84,8 @@ struct mips_pci_chipset { (*(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) + /* PCI view of CPU memory */ extern paddr_t loongson_dma_base; |