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-29 08:06:02 -07:00
2008-04-29 08:06:26 -07:00
2008-02-08 09:22:40 -08:00
2008-04-29 08:06:18 -07:00
2008-04-29 08:06:04 -07:00
2008-02-14 21:13:33 -08:00
2008-03-04 14:47:06 -08:00
2008-02-08 09:22:40 -08:00
2008-04-29 08:06:28 -07:00
2008-04-29 08:06:00 -07:00
2008-04-28 08:58:18 -07:00
2008-04-29 08:06:01 -07:00
2008-02-08 09:22:40 -08:00
2008-03-19 06:42:18 -04:00
2008-04-29 08:06:18 -07:00
2008-04-30 08:29:47 -07:00
2008-04-29 08:06:00 -07:00
2008-03-30 14:18:41 -07:00
2008-04-28 08:58:46 -07:00
2008-04-28 08:58:45 -07:00
2008-04-28 08:58:47 -07:00
2008-04-29 08:06:29 -07:00
2008-04-29 08:06:17 -07:00
2008-01-30 13:31:46 +01:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:37 -07:00
2008-04-25 09:24:05 -04:00
2008-04-29 08:06:06 -07:00
2008-02-06 10:41:07 -08:00
2008-04-29 08:06:00 -07:00
2008-04-29 08:06:01 -07:00
2008-01-30 13:31:46 +01:00
2008-04-29 08:06:09 -07:00
2008-02-14 21:13:33 -08:00
2008-04-30 08:29:37 -07:00
2008-04-29 09:48:15 +02:00
2008-02-14 21:13:33 -08:00
2008-04-29 08:06:00 -07:00