patch-2.1.107 linux/drivers/char/stallion.c
Next file: linux/drivers/char/tga.c
Previous file: linux/drivers/char/selection.c
Back to the patch index
Back to the overall index
-  Lines: 30
-  Date:
Mon Jun 22 23:00:51 1998
-  Orig file: 
v2.1.106/linux/drivers/char/stallion.c
-  Orig date: 
Sun Jun  7 11:16:30 1998
diff -u --recursive --new-file v2.1.106/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -142,7 +142,7 @@
  */
 static char	*stl_drvtitle = "Stallion Multiport Serial Driver";
 static char	*stl_drvname = "stallion";
-static char	*stl_drvversion = "5.4.5";
+static char	*stl_drvversion = "5.4.6";
 static char	*stl_serialname = "ttyE";
 static char	*stl_calloutname = "cue";
 
@@ -1082,7 +1082,6 @@
 {
 	stlport_t	*portp;
 	unsigned int	len, stlen;
-	unsigned long	flags;
 	unsigned char	*chbuf;
 	char		*head, *tail;
 
@@ -1114,12 +1113,9 @@
 			(tail - head - 1);
 		count = MIN(len, count);
 		
-		save_flags(flags);
-		cli();
 		down(&stl_tmpwritesem);
 		copy_from_user(stl_tmpwritebuf, chbuf, count);
 		up(&stl_tmpwritesem);
-		restore_flags(flags);
 		chbuf = &stl_tmpwritebuf[0];
 	}
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov