diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-06-29 03:53:29 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-06-29 03:53:29 +0000 |
commit | 7abeb40bbfb573eaca2c836845e06276fdab52f6 (patch) | |
tree | 1d35a1b90a761ac6281b0ab1aee73fc47ee5135b /sys | |
parent | 94a313a3097b35650df4c3c8d004fc90852b8e7b (diff) |
add some Power Management constants
From NetBSD
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/pcivar.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index b7714707cce..8eb6ef58092 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcivar.h,v 1.41 2005/06/02 21:55:33 mickey Exp $ */ +/* $OpenBSD: pcivar.h,v 1.42 2005/06/29 03:53:28 brad Exp $ */ /* $NetBSD: pcivar.h,v 1.23 1997/06/06 23:48:05 thorpej Exp $ */ /* @@ -192,4 +192,12 @@ const struct pci_quirkdata * pci_lookup_quirkdata(pci_vendor_id_t, pci_product_id_t); void pciagp_set_pchb(struct pci_attach_args *); +/* + * Power Management (PCI 2.2) + */ +#define PCI_PWR_D0 0 +#define PCI_PWR_D1 1 +#define PCI_PWR_D2 2 +#define PCI_PWR_D3 3 + #endif /* _DEV_PCI_PCIVAR_H_ */ |