Signed-off-by: Helge Deller <[email protected]>
---
 src/sercon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sercon.c b/src/sercon.c
index 66a1f24..8ae1f9c 100644
--- a/src/sercon.c
+++ b/src/sercon.c
@@ -541,7 +541,7 @@ void sercon_setup(void)
     SET_IVT(0x10, FUNC16(entry_sercon));
     SET_LOW(sercon_port, addr);
     outb(0x03, addr + SEROFF_LCR); // 8N1
-    outb(0x01, addr + 0x02);       // enable fifo
+    outb(0x01, addr + SEROFF_IIR); // enable fifo
 }

 /****************************************************************
--
2.29.2
_______________________________________________
SeaBIOS mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to