patch-2.4.4 linux/drivers/sbus/char/sunserial.c

Next file: linux/drivers/sbus/char/zs.c
Previous file: linux/drivers/sbus/char/su.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/sbus/char/sunserial.c linux/drivers/sbus/char/sunserial.c
@@ -1,4 +1,4 @@
-/* $Id: sunserial.c,v 1.78 2001/03/21 22:43:11 davem Exp $
+/* $Id: sunserial.c,v 1.79 2001/04/18 21:06:17 davem Exp $
  * serial.c: Serial port driver infrastructure for the Sparc.
  *
  * Copyright (C) 1997  Eddie C. Dost  (ecd@skynet.be)
@@ -308,7 +308,7 @@
 		case 9600: cflag |= B9600; break;
 		case 19200: cflag |= B19200; break;
 		case 38400: cflag |= B38400; break;
-		default: cflag |= B9600; break;
+		default: baud = 9600; cflag |= B9600; break;
 	}
 
 	switch (bits) {

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