- Shorten the names for the TTY related swi interrupt handlers as the
'tty:' prefix is largely redundant. - Fix the priority of the low-priority TTY SWIs that are hung off of the softclock thread. Submitted by: bde (2)
This commit is contained in:
parent
e874bf6648
commit
3df6c4de7e
@ -2873,7 +2873,7 @@ static int cx_modevent (module_t mod, int type, void *unused)
|
||||
#if __FreeBSD_version < 500000
|
||||
register_swi (SWI_TTY, cx_softintr);
|
||||
#else
|
||||
swi_add(&tty_ithd, "tty:cx", cx_softintr, NULL, SWI_TTY, 0,
|
||||
swi_add(&tty_ithd, "cx", cx_softintr, NULL, SWI_TTY, 0,
|
||||
&cx_fast_ih);
|
||||
#endif
|
||||
break;
|
||||
|
@ -554,9 +554,9 @@ cyattach_common(cy_iobase, cy_align)
|
||||
splx(s);
|
||||
|
||||
if (sio_fast_ih == NULL) {
|
||||
swi_add(&tty_ithd, "tty:cy", siopoll, NULL, SWI_TTY, 0,
|
||||
swi_add(&tty_ithd, "cy", siopoll, NULL, SWI_TTY, 0,
|
||||
&sio_fast_ih);
|
||||
swi_add(&clk_ithd, "tty:cy", siopoll, NULL, SWI_TTY, 0,
|
||||
swi_add(&clk_ithd, "cy", siopoll, NULL, SWI_CLOCK, 0,
|
||||
&sio_slow_ih);
|
||||
}
|
||||
minorbase = UNIT_TO_MINOR(unit);
|
||||
|
@ -1132,9 +1132,9 @@ determined_type: ;
|
||||
printf("\n");
|
||||
|
||||
if (sio_fast_ih == NULL) {
|
||||
swi_add(&tty_ithd, "tty:sio", siopoll, NULL, SWI_TTY, 0,
|
||||
swi_add(&tty_ithd, "sio", siopoll, NULL, SWI_TTY, 0,
|
||||
&sio_fast_ih);
|
||||
swi_add(&clk_ithd, "tty:sio", siopoll, NULL, SWI_TTY, 0,
|
||||
swi_add(&clk_ithd, "sio", siopoll, NULL, SWI_CLOCK, 0,
|
||||
&sio_slow_ih);
|
||||
}
|
||||
minorbase = UNIT_TO_MINOR(unit);
|
||||
|
@ -1801,9 +1801,9 @@ determined_type: ;
|
||||
printf("\n");
|
||||
|
||||
if (sio_fast_ih == NULL) {
|
||||
swi_add(&tty_ithd, "tty:sio", siopoll, NULL, SWI_TTY, 0,
|
||||
swi_add(&tty_ithd, "sio", siopoll, NULL, SWI_TTY, 0,
|
||||
&sio_fast_ih);
|
||||
swi_add(&clk_ithd, "tty:sio", siopoll, NULL, SWI_TTY, 0,
|
||||
swi_add(&clk_ithd, "sio", siopoll, NULL, SWI_CLOCK, 0,
|
||||
&sio_slow_ih);
|
||||
}
|
||||
minorbase = UNIT_TO_MINOR(unit);
|
||||
|
@ -1801,9 +1801,9 @@ determined_type: ;
|
||||
printf("\n");
|
||||
|
||||
if (sio_fast_ih == NULL) {
|
||||
swi_add(&tty_ithd, "tty:sio", siopoll, NULL, SWI_TTY, 0,
|
||||
swi_add(&tty_ithd, "sio", siopoll, NULL, SWI_TTY, 0,
|
||||
&sio_fast_ih);
|
||||
swi_add(&clk_ithd, "tty:sio", siopoll, NULL, SWI_TTY, 0,
|
||||
swi_add(&clk_ithd, "sio", siopoll, NULL, SWI_CLOCK, 0,
|
||||
&sio_slow_ih);
|
||||
}
|
||||
minorbase = UNIT_TO_MINOR(unit);
|
||||
|
Loading…
Reference in New Issue
Block a user