]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] hvc_console: Rearrange code
authorMilton Miller <miltonm@bga.com>
Fri, 8 Jul 2005 00:56:16 +0000 (17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:38 +0000 (18:23 -0700)
commit837dcfaf46d147f1d2c64cbbecb832dd9075c39d
tree4b8199609f63ee07126c6940c71d9a6f14bca4ec
parent5cee73fa04758f52b7404b93a02edf74649370ab
[PATCH] hvc_console: Rearrange code

Milton Miller has done a lot of work to clean up our hvc_console code.

One of the important things the following patch series does is separate the
VIO layer from the hvc_console code.  With the VIO specific code removed any
ppc64 platform, or even any architecture, can use hvc_console as a generic
polling console.  You simply have to supply a get_chars and put_chars method
and hvc_console does the rest of the work.  You can even use it for an
interrupt driven console.

This patch:

Rearrange the code in drivers/char/hvc_console.c to make future patches
smaller.  No actual code changes, just ordering of the functions in the file.

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