diff options
| author | 2010-09-06 19:20:19 +0000 | |
|---|---|---|
| committer | 2010-09-06 19:20:19 +0000 | |
| commit | 4fe0106dfe72c35ab77dfc73e0fa9d61c657f19b (patch) | |
| tree | d5d0dd60eed68789c10753df62a82da059721fc0 /sys/dev/pci/pci.c | |
| parent | sync (diff) | |
| download | wireguard-openbsd-4fe0106dfe72c35ab77dfc73e0fa9d61c657f19b.tar.xz wireguard-openbsd-4fe0106dfe72c35ab77dfc73e0fa9d61c657f19b.zip | |
All PWR_{SUSPEND,RESUME} can now be replaced by DVACT_{SUSPEND,RESUME}
Diffstat (limited to 'sys/dev/pci/pci.c')
| -rw-r--r-- | sys/dev/pci/pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 6a88d510961..46d4fd8b39c 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci.c,v 1.84 2010/09/05 18:14:33 kettenis Exp $ */ +/* $OpenBSD: pci.c,v 1.85 2010/09/06 19:20:23 deraadt Exp $ */ /* $NetBSD: pci.c,v 1.31 1997/06/06 23:48:04 thorpej Exp $ */ /* @@ -218,10 +218,10 @@ void pcipowerhook(int why, void *arg) { switch (why) { - case PWR_SUSPEND: + case DVACT_SUSPEND: pci_suspend(arg); break; - case PWR_RESUME: + case DVACT_RESUME: pci_resume(arg); break; } |
