| 565 | } |
| 566 | |
| 567 | static void |
| 568 | termcn_cnprobe(struct consdev *cp) |
| 569 | { |
| 570 | struct terminal *tm = cp->cn_arg; |
| 571 | |
| 572 | if (tm == NULL) { |
| 573 | cp->cn_pri = CN_DEAD; |
| 574 | return; |
| 575 | } |
| 576 | |
| 577 | tm->consdev = cp; |
| 578 | terminal_init(tm); |
| 579 | |
| 580 | tm->tm_class->tc_cnprobe(tm, cp); |
| 581 | } |
| 582 | |
| 583 | static void |
| 584 | termcn_cninit(struct consdev *cp) |
nothing calls this directly
no test coverage detected