diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-12-06 21:03:06 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-12-06 21:03:06 +0000 |
commit | dde7b00df07d5064317db5ff355091c989d5d684 (patch) | |
tree | 7ea38e550451394317b7581ff5f8914bd269ec95 /sys/dev/cardbus/if_bwi_cardbus.c | |
parent | 236f5968eef75c8e14b0b020bb15cc2f53b5041e (diff) |
Add a DVACT_WAKEUP op to the *_activate() API. This is called after the
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people
Diffstat (limited to 'sys/dev/cardbus/if_bwi_cardbus.c')
-rw-r--r-- | sys/dev/cardbus/if_bwi_cardbus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_bwi_cardbus.c b/sys/dev/cardbus/if_bwi_cardbus.c index 763b919b6ee..f69e1440bd7 100644 --- a/sys/dev/cardbus/if_bwi_cardbus.c +++ b/sys/dev/cardbus/if_bwi_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bwi_cardbus.c,v 1.14 2013/11/14 12:10:04 dlg Exp $ */ +/* $OpenBSD: if_bwi_cardbus.c,v 1.15 2013/12/06 21:03:02 deraadt Exp $ */ /* * Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org> @@ -24,7 +24,6 @@ #include "bpfilter.h" #include <sys/param.h> -#include <sys/task.h> #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/systm.h> |