patch-2.1.42 linux/drivers/char/stallion.c

Next file: linux/drivers/char/vc_screen.c
Previous file: linux/drivers/char/selection.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.41/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -3301,7 +3301,7 @@
 	len = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head));
 	if ((len == 0) || ((len < STL_TXBUFLOW) && (test_bit(ASYI_TXLOW, &portp->istate) == 0))) {
 		set_bit(ASYI_TXLOW, &portp->istate);
-		queue_task_irq_off(&portp->tqueue, &tq_scheduler);
+		queue_task(&portp->tqueue, &tq_scheduler);
 	}
 
 	if (len == 0) {
@@ -3479,7 +3479,7 @@
 	misr = inb(ioaddr + EREG_DATA);
 	if (misr & MISR_DCD) {
 		set_bit(ASYI_DCDCHANGE, &portp->istate);
-		queue_task_irq_off(&portp->tqueue, &tq_scheduler);
+		queue_task(&portp->tqueue, &tq_scheduler);
 		portp->stats.modem++;
 	}
 
@@ -4159,7 +4159,7 @@
 	len = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head));
 	if ((len == 0) || ((len < STL_TXBUFLOW) && (test_bit(ASYI_TXLOW, &portp->istate) == 0))) {
 		set_bit(ASYI_TXLOW, &portp->istate);
-		queue_task_irq_off(&portp->tqueue, &tq_scheduler);
+		queue_task(&portp->tqueue, &tq_scheduler);
 	}
 
 	if (len == 0) {
@@ -4377,7 +4377,7 @@
 		ipr = stl_sc26198getreg(portp, IPR);
 		if (ipr & IPR_DCDCHANGE) {
 			set_bit(ASYI_DCDCHANGE, &portp->istate);
-			queue_task_irq_off(&portp->tqueue, &tq_scheduler);
+			queue_task(&portp->tqueue, &tq_scheduler);
 			portp->stats.modem++;
 		}
 		break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov