summaryrefslogtreecommitdiff
path: root/Kernel/Devices/PCISerialDevice.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-05-17 21:14:22 +0300
committerLinus Groh <mail@linusgroh.de>2021-05-17 19:45:35 +0100
commit79d3910145e0ee6c4fbc6f96e35409f18eb074a2 (patch)
tree636ed0c6519b4140badd442eff37fa27a351fd22 /Kernel/Devices/PCISerialDevice.cpp
parent51e9fdebeacedb29844ebe47ce5109c1da0093ad (diff)
downloadserenity-79d3910145e0ee6c4fbc6f96e35409f18eb074a2.zip
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 :^)
Diffstat (limited to 'Kernel/Devices/PCISerialDevice.cpp')
-rw-r--r--Kernel/Devices/PCISerialDevice.cpp2
1 files changed, 1 insertions, 1 deletions
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);