summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pcivar.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2007-10-22 03:08:54 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2007-10-22 03:08:54 +0000
commitd69e7e7d6e618c28d4b1141d46816e29b42e3cfd (patch)
tree8e98025059ee2218dfab9e8db7e5bd41da5043d5 /sys/dev/pci/pcivar.h
parentff1490a1b56af957f4295645d64b637a8eaf02f0 (diff)
Add pci_set_powerstate() to change the pm state for a given device.
ok by many.
Diffstat (limited to 'sys/dev/pci/pcivar.h')
-rw-r--r--sys/dev/pci/pcivar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index c369df9b949..1e2ed3bbea5 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcivar.h,v 1.54 2007/08/01 21:43:03 deraadt Exp $ */
+/* $OpenBSD: pcivar.h,v 1.55 2007/10/22 03:08:53 fgsch Exp $ */
/* $NetBSD: pcivar.h,v 1.23 1997/06/06 23:48:05 thorpej Exp $ */
/*
@@ -223,6 +223,7 @@ struct pci_matchid {
};
int pci_matchbyid(struct pci_attach_args *, const struct pci_matchid *, int);
+int pci_set_powerstate(pci_chipset_tag_t, pcitag_t, int);
/*
* Helper functions for autoconfiguration.