Make legacy xxpower() functions call xxstop() on suspend, and simplify their
authorderaadt <deraadt@openbsd.org>
Wed, 28 Jul 2010 21:21:38 +0000 (21:21 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 28 Jul 2010 21:21:38 +0000 (21:21 +0000)
commit5c2c29acd3c4953c40bc593fe3dd2c9e07464720
tree2d9f00d2aea10c114303a89163b8b4affce2ce5a
parent72026f1ae0ba0d183d8acb0dfd804d7cdfa7b45e
Make legacy xxpower() functions call xxstop() on suspend, and simplify their
resume paths.  For new-style suspend/resume, add a ca_activate function where
it is missing, and use a workq to resume because these drivers like to sleep.
ok damien
sys/dev/pci/if_ipw.c
sys/dev/pci/if_ipwvar.h
sys/dev/pci/if_iwi.c
sys/dev/pci/if_iwivar.h
sys/dev/pci/if_iwn.c
sys/dev/pci/if_wpi.c