Poul-Henning Kamp
9c01a318d2
A major overhaul of the nmdm(4) driver:
...
It was based on the pty(4) driver which as a tty side an a non-tty side.
Nmdm(4) seems to have inherited two symmetric sides from pty but
unfortunately they are not quite ttys. Running a getty one one
side and tip on the other failed to produce NL->CRNL mapping for
instance.
Rip out the basically bogus cdevsw->{read,write} functions and rely
on ttyread() and ttywrite() which does the same thing.
Use taskqueue_swi_giant to run a task for either side to do what
needs to be done. (Direct calling is not an option as it leads to
recursion.) Trigger the task from the t_oproc and t_stop methods.
Default the ports to not ECHO. Since we neither rate limiting nor
emulation, two ports echoing each other is a really bad idea, which
can only be properly mitigated by rate limiting, rate emulation or
intelligent detection. Rate emulation would be a neat feature.
Ditch the modem-line emulation, if needed for some app, it needs
to be thought much more about how it interacts with the open/close
logic.
2004-06-01 22:53:00 +00:00
..
2004-06-01 15:50:11 +00:00
2004-05-30 20:34:58 +00:00
2004-05-30 20:08:47 +00:00
2004-03-17 17:50:55 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:00:41 +00:00
2004-03-17 17:50:55 +00:00
2004-03-17 17:50:55 +00:00
2004-05-27 03:49:45 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-27 03:49:45 +00:00
2004-05-30 20:08:47 +00:00
2004-05-23 16:11:53 +00:00
2004-05-30 20:08:47 +00:00
2004-06-01 12:28:45 +00:00
2004-04-05 04:42:42 +00:00
2004-05-30 20:27:19 +00:00
2004-05-27 03:49:45 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 17:57:46 +00:00
2004-05-28 00:49:57 +00:00
2004-03-17 17:50:55 +00:00
2004-05-23 16:11:53 +00:00
2004-05-30 20:08:47 +00:00
2004-05-27 03:49:45 +00:00
2004-03-17 17:50:55 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-06-01 11:57:15 +00:00
2004-05-30 20:00:41 +00:00
2004-06-01 13:49:28 +00:00
2004-05-30 20:00:41 +00:00
2003-08-24 17:55:58 +00:00
2004-06-01 11:57:15 +00:00
2004-03-17 17:50:55 +00:00
2004-03-17 17:50:55 +00:00
2004-05-27 03:49:45 +00:00
2003-08-24 17:55:58 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-27 03:49:45 +00:00
2004-05-27 03:49:45 +00:00
2003-10-07 04:29:04 +00:00
2004-03-17 17:50:55 +00:00
2004-05-30 20:27:19 +00:00
2004-05-27 22:43:10 +00:00
2004-05-27 03:49:45 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-23 16:11:53 +00:00
2004-03-17 17:50:55 +00:00
2004-05-30 20:08:47 +00:00
2004-02-21 13:01:54 +00:00
2004-03-17 17:50:55 +00:00
2004-04-20 15:33:24 +00:00
2004-05-30 20:08:47 +00:00
2004-05-29 18:29:53 +00:00
2004-04-07 20:46:16 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-03-17 17:50:55 +00:00
2004-03-17 17:50:55 +00:00
2004-05-29 06:41:17 +00:00
2004-05-27 13:29:09 +00:00
2004-05-19 17:46:34 +00:00
2004-05-30 20:08:47 +00:00
2004-05-24 07:02:25 +00:00
2004-05-30 20:08:47 +00:00
2004-05-28 00:23:00 +00:00
2004-05-27 03:49:45 +00:00
2004-04-02 16:41:16 +00:00
2004-05-10 11:50:21 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-03-17 17:50:55 +00:00
2003-08-24 17:55:58 +00:00
2004-03-17 17:50:55 +00:00
2004-05-18 07:30:04 +00:00
2004-05-30 17:57:46 +00:00
2003-08-24 17:55:58 +00:00
2004-05-30 20:08:47 +00:00
2004-03-17 17:50:55 +00:00
2004-03-17 17:50:55 +00:00
2004-05-30 20:34:58 +00:00
2004-05-29 00:51:19 +00:00
2004-05-23 16:11:53 +00:00
2004-05-27 03:49:45 +00:00
2004-05-30 20:08:47 +00:00
2004-06-01 22:53:00 +00:00
2004-05-27 03:49:45 +00:00
2004-02-21 21:10:55 +00:00
2004-06-01 13:49:28 +00:00
2004-05-26 00:53:10 +00:00
2004-03-17 17:50:55 +00:00
2004-05-28 02:24:07 +00:00
2004-05-30 17:57:46 +00:00
2004-05-31 14:24:21 +00:00
2004-05-30 20:08:47 +00:00
2004-03-17 17:50:55 +00:00
2004-03-17 17:50:55 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-03-17 17:50:55 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 17:57:46 +00:00
2004-05-30 20:08:47 +00:00
2004-06-01 11:57:15 +00:00
2004-05-30 20:08:47 +00:00
2003-08-24 17:55:58 +00:00
2004-06-01 11:57:15 +00:00
2004-03-17 17:50:55 +00:00
2004-05-30 20:08:47 +00:00
2004-05-23 16:11:53 +00:00
2004-05-30 20:08:47 +00:00
2004-03-17 17:50:55 +00:00
2004-05-30 20:00:41 +00:00
2004-06-01 11:57:15 +00:00
2004-06-01 11:57:15 +00:00
2004-05-30 20:00:41 +00:00
2004-05-17 18:55:45 +00:00
2004-05-30 20:08:47 +00:00
2004-05-23 16:11:53 +00:00
2004-05-30 20:08:47 +00:00
2004-06-01 06:22:59 +00:00
2004-02-21 21:10:55 +00:00
2004-05-30 20:08:47 +00:00
2004-05-27 03:49:45 +00:00
2004-02-21 21:10:55 +00:00
2004-06-01 11:57:15 +00:00
2004-03-17 17:50:55 +00:00
2004-06-01 19:02:51 +00:00
2004-05-30 20:08:47 +00:00
2004-02-21 21:10:55 +00:00
2004-05-30 20:00:41 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-05-27 03:49:45 +00:00
2004-05-30 20:08:47 +00:00
2004-06-01 11:38:06 +00:00
2004-05-30 20:08:47 +00:00
2004-04-24 23:41:21 +00:00
2004-05-30 20:00:41 +00:00
2004-05-30 20:08:47 +00:00
2004-02-28 20:06:59 +00:00
2003-08-24 17:55:58 +00:00
2004-05-27 03:49:45 +00:00
2004-05-30 20:08:47 +00:00
2004-05-30 20:08:47 +00:00
2004-04-07 20:46:16 +00:00