[S390] pm: iucv power management callbacks.
authorUrsula Braun <ursula.braun@de.ibm.com>
Tue, 16 Jun 2009 08:30:42 +0000 (10:30 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 16 Jun 2009 08:31:17 +0000 (10:31 +0200)
commit672e405b603af0bed99a4c173cdfce9bbf81c963
tree25c0498b3a25a39f65914396feea32ea4d4d8eef
parent6c005961c15ff85fe1047c197d50b843567c89f8
[S390] pm: iucv power management callbacks.

Patch calls the PM callback functions of iucv-bus devices, which are
responsible for removal of their established iucv pathes.

The PM freeze callback for the first iucv-bus device disables all iucv
interrupts except the connection severed interrupt.
The PM freeze callback for the last iucv-bus device shuts down iucv.

The PM thaw callback for the first iucv-bus device re-enables iucv
if it has been shut down during freeze. If freezing has been interrupted,
it re-enables iucv interrupts according to the needs of iucv-exploiters.

The PM restore callback for the first iucv-bus device re-enables iucv.

Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
net/iucv/iucv.c