Commit-ID: 15428957643eb1fbf0836141fc6ec92678124202 Gitweb: http://git.kernel.org/tip/15428957643eb1fbf0836141fc6ec92678124202 Author: Pekka Enberg <penberg@xxxxxxxxxx> AuthorDate: Sat, 21 May 2011 15:04:10 +0300 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Sat, 21 May 2011 15:28:50 +0300 kvm tools, serial: Register 0x2e8 ioport We already register ioports for 0x2f8 and 0x3e8 and mark them as inactive so mark 0x2e8 ioport as such as well. This is a preparational step to dropping serial port dummy registrations from ioport__setup_legacy(). Cc: Cyrill Gorcunov <gorcunov@xxxxxxxxx> Cc: Sasha Levin <levinsasha928@xxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/hw/serial.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/tools/kvm/hw/serial.c b/tools/kvm/hw/serial.c index 03cc445..beebbba 100644 --- a/tools/kvm/hw/serial.c +++ b/tools/kvm/hw/serial.c @@ -62,6 +62,15 @@ static struct serial8250_device devices[] = { .iir = UART_IIR_NO_INT, }, + /* ttyS3 */ + [3] = { + .mutex = PTHREAD_MUTEX_INITIALIZER, + + .iobase = 0x2e8, + .irq = 3, + + .iir = UART_IIR_NO_INT, + }, }; #define SYSRQ_PENDING_NONE 0 -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |