Alan Cox f34d7a5b70 tty: The big operations rework
- Operations are now a shared const function block as with most other Linux
  objects

- Introduce wrappers for some optional functions to get consistent behaviour

- Wrap put_char which used to be patched by the tty layer

- Document which functions are needed/optional

- Make put_char report success/fail

- Cache the driver->ops pointer in the tty as tty->ops

- Remove various surplus lock calls we no longer need

- Remove proc_write method as noted by Alexey Dobriyan

- Introduce some missing sanity checks where certain driver/ldisc
  combinations would oops as they didn't check needed methods were present

[akpm@linux-foundation.org: fix fs/compat_ioctl.c build]
[akpm@linux-foundation.org: fix isicom]
[akpm@linux-foundation.org: fix arch/ia64/hp/sim/simserial.c build]
[akpm@linux-foundation.org: fix kgdb]
Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-30 08:29:47 -07:00
..
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:45 -07:00
2008-02-08 09:22:41 -08:00
2007-10-17 08:42:52 -07:00
2007-05-08 11:15:09 -07:00
2008-02-03 17:11:42 +02:00
2008-04-04 18:36:49 +02:00
2008-04-30 08:29:47 -07:00
2008-04-29 08:05:59 -07:00
2008-04-30 08:29:47 -07:00
2007-02-20 17:11:55 +00:00
2008-02-07 08:42:25 -08:00
2008-02-07 08:42:25 -08:00
2008-04-29 08:05:59 -07:00
2008-04-30 08:29:43 -07:00
2008-04-30 08:29:45 -07:00
2008-02-07 08:42:34 -08:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:47 -07:00
2007-02-12 09:48:30 -08:00
2007-07-21 17:49:16 -07:00
2008-04-30 08:29:46 -07:00
2008-04-29 08:06:27 -07:00
2007-07-16 09:05:46 -07:00
2008-04-29 08:06:27 -07:00
2008-04-30 08:29:39 -07:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:40 -07:00
2008-04-30 08:29:46 -07:00