Subject: tty line disciplines and poll(2)
To: None <tech-kern@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: tech-kern
Date: 04/30/2001 12:19:04
Hi,

Is there any reason (historical or otherwise) why tty line disciplines
have no way to supply a poll(2) entry point?

Right now, all tty character devices automatically get ttpoll(), which is
pretty much useless to a line discipline which doesn't call ttyinput().

Would it be more appropriate for all tty character devices to have a
simple poll(2) entry point which indirects through a new 
't_linesw->l_poll' function pointer much the same way read(2) and
write(2) do now?

Cheers, Steve