summaryrefslogtreecommitdiff
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-01-05 08:47:13 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-01-05 08:47:13 +0000
commitc86b6ff551d4e38e75a3316171383de5b00c7c48 (patch)
tree619ee98d73f5552ae93c3c8fee5af6b40ff37908 /sys/dev/sio/sio.c
parent422f61655f0b6793c00d38cd362c76acf4462877 (diff)
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r--sys/dev/sio/sio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 76eade668ccd..56030969a24b 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -1748,7 +1748,7 @@ siointr1(com)
}
++com->bytes_in;
if (com->hotchar != 0 && recv_data == com->hotchar)
- swi_sched(sio_fast_ih, SWI_NOSWITCH);
+ swi_sched(sio_fast_ih, 0);
ioptr = com->iptr;
if (ioptr >= com->ibufend)
CE_RECORD(com, CE_INTERRUPT_BUF_OVERFLOW);
@@ -1759,7 +1759,7 @@ siointr1(com)
swi_sched(sio_slow_ih, SWI_DELAY);
#if 0 /* for testing input latency vs efficiency */
if (com->iptr - com->ibuf == 8)
- swi_sched(sio_fast_ih, SWI_NOSWITCH);
+ swi_sched(sio_fast_ih, 0);
#endif
ioptr[0] = recv_data;
ioptr[com->ierroff] = line_status;
@@ -1797,7 +1797,7 @@ cont:
if (!(com->state & CS_CHECKMSR)) {
com_events += LOTS_OF_EVENTS;
com->state |= CS_CHECKMSR;
- swi_sched(sio_fast_ih, SWI_NOSWITCH);
+ swi_sched(sio_fast_ih, 0);
}
/* handle CTS change immediately for crisp flow ctl */
@@ -1852,7 +1852,7 @@ cont:
com_events += LOTS_OF_EVENTS;
com->state |= CS_ODONE;
/* handle at high level ASAP */
- swi_sched(sio_fast_ih, SWI_NOSWITCH);
+ swi_sched(sio_fast_ih, 0);
}
}
if (COM_IIR_TXRDYBUG(com->flags) && (int_ctl != int_ctl_new)) {