On Tue, 4 May 2010 21:55:43 +0530 (IST)
Pavan Savoy <pavan_savoy@ti.com> wrote:
This doesn't appear to be a tty device ?
Hardly true. A tty driver has a very precisely defined set of behaviours
and a lot of ioctls and interfaces your driver doesn't. Our gps
interfaces are only tty drivers because historically they were plugged
into serial ports so I'm not sure the 'not a tty' bit actually matters.
Codewise its the same as all the rest - only one instance possible and
poking around in globals with no visible or documented locking.
--