patch-2.4.10 linux/drivers/s390/char/tubio.h

Next file: linux/drivers/s390/char/tubtty.c
Previous file: linux/drivers/s390/char/tubfs.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/drivers/s390/char/tubio.h linux/drivers/s390/char/tubio.h
@@ -282,6 +282,7 @@
 #define	TUB_UNSOL_DE	0x0200
 #define	TUB_OPEN_STET	0x0400		/* No screen clear on open */
 #define	TUB_UE_BUSY	0x0800
+#define	TUB_INPUT_HACK	0x1000		/* Early init of command line */
 
 #ifdef CONFIG_TN3270_CONSOLE
 /*
@@ -372,7 +373,7 @@
 		if (MAJOR(current->tty->device) == IBM_TTY3270_MAJOR)
 			minor = MINOR(current->tty->device);
 	}
-	if (minor >= tubnummins && minor > 0)
+	if (minor <= tubnummins && minor > 0)
 		tubp = (*tubminors)[minor];
 	return tubp;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)