[S390] pm: con3270 power management callbacks.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 16 Jun 2009 08:30:47 +0000 (10:30 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 16 Jun 2009 08:31:20 +0000 (10:31 +0200)
commit4b214a0c7720bfcfaca936047a359f8859fc8424
tree33cbc967ffd4b7a316cada0917006bd7031ccfb2
parent6a1d96dced593bc17d7a17fdb93c99b275e71eba
[S390] pm: con3270 power management callbacks.

Introduce the power management callbacks to the 3270 driver. On suspend
the current 3270 view is deactivated and for non-console 3270 device
the release callback is done. This disconnects the current tty /
fullscreen application from the 3270 device. On resume the current
view is reactivated, on the tty you get a fresh login.
If the system panics before the 3270 device has been resumed, the ccw
device for the 3270 console is reactivated with ccw_device_force_console.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/con3270.c
drivers/s390/char/fs3270.c
drivers/s390/char/raw3270.c
drivers/s390/char/raw3270.h