diff options
author | Pekka Enberg <penberg@kernel.org> | 2011-05-21 15:04:10 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-06-01 16:39:44 +0100 |
commit | bf459c833b879434f4796821a13659baa90e7dc9 (patch) | |
tree | 043a5046b3cc27f1e14bd498e2ec7ac07e5e0645 /hw | |
parent | 86d2304894861a04c056d89b5f9755dbfcbc744d (diff) | |
download | kvmtool-bf459c833b879434f4796821a13659baa90e7dc9.tar.gz |
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@gmail.com>
Cc: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/serial.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/serial.c b/hw/serial.c index 03cc4454..beebbba5 100644 --- a/hw/serial.c +++ b/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 |