s390/con3270: optionally disable auto update
This patch adds a parameter 'auto_update' to the con3270 driver, causing the 'auto_update' feature to be disabled if unset. The 'auto_update' feature will cause the con3270 driver to switch to the console view whenever new system messages are displayed, which makes working on the 3270 terminal awkward. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
@@ -275,6 +275,15 @@ __raw3270_start(struct raw3270 *rp, struct raw3270_view *view,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
raw3270_view_active(struct raw3270_view *view)
|
||||
{
|
||||
struct raw3270 *rp = view->dev;
|
||||
|
||||
return rp && rp->view == view &&
|
||||
!test_bit(RAW3270_FLAGS_FROZEN, &rp->flags);
|
||||
}
|
||||
|
||||
int
|
||||
raw3270_start(struct raw3270_view *view, struct raw3270_request *rq)
|
||||
{
|
||||
|
Reference in New Issue
Block a user