]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] hvc_console: Register ops when setting up hvc_console
authorMilton Miller <miltonm@bga.com>
Fri, 8 Jul 2005 00:56:25 +0000 (17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:39 +0000 (18:23 -0700)
commit030ffad23fb28fc29608a3bc21f0c3b88bf28592
tree8fe8a2e8615e25e985c5658687d38c5c0ce7a971
parentacad9559f1054487292eb10d7bb81f256e9d8f2d
[PATCH] hvc_console: Register ops when setting up hvc_console

When registering the hvc console port, register a list of ops (read and write)
to go with it, instead of calling fixed function names.

This allows different ports to encode the data differently.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/hvc_console.c
drivers/char/hvc_vio.c
include/asm-ppc64/hvconsole.h