Commit bf459c83 authored by Pekka Enberg's avatar Pekka Enberg Committed by Will Deacon
Browse files

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: default avatarPekka Enberg <penberg@kernel.org>
parent 86d23048
......@@ -60,6 +60,15 @@ static struct serial8250_device devices[] = {
.iobase = 0x3e8,
.irq = 4,
.iir = UART_IIR_NO_INT,
},
/* ttyS3 */
[3] = {
.mutex = PTHREAD_MUTEX_INITIALIZER,
.iobase = 0x2e8,
.irq = 3,
.iir = UART_IIR_NO_INT,
},
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment