From 79d3910145e0ee6c4fbc6f96e35409f18eb074a2 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Mon, 17 May 2021 21:14:22 +0300 Subject: Kernel: Stop overriding built-in serial port with PCI serial port On a second thought, theres nothing stopping us from allowing poeple to use both if they want to :^) --- Kernel/Devices/PCISerialDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Devices/PCISerialDevice.cpp') diff --git a/Kernel/Devices/PCISerialDevice.cpp b/Kernel/Devices/PCISerialDevice.cpp index f9849ab23f..528341e944 100644 --- a/Kernel/Devices/PCISerialDevice.cpp +++ b/Kernel/Devices/PCISerialDevice.cpp @@ -26,7 +26,7 @@ void PCISerialDevice::detect() auto bar_base = PCI::get_BAR(address, board_definition.pci_bar) & ~1; // FIXME: We should support more than 1 PCI serial port (per card/multiple devices) - s_the = new SerialDevice(IOAddress(bar_base + board_definition.first_offset), 64); + s_the = new SerialDevice(IOAddress(bar_base + board_definition.first_offset), 68); if (board_definition.baud_rate != SerialDevice::Baud::Baud38400) // non-default baud s_the->set_baud(board_definition.baud_rate); -- cgit v1.2.3