- 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:
John Baldwin 2004-06-28 16:17:11 +00:00
parent e874bf6648
commit 3df6c4de7e
5 changed files with 9 additions and 9 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);