summaryrefslogtreecommitdiff
path: root/laden
diff options
context:
space:
mode:
authormarcus <marcus>2003-09-21 22:25:16 +0000
committermarcus <marcus>2003-09-21 22:25:16 +0000
commitefd9d8a003e2377227fe3c437224f2740785769e (patch)
treebfeefa98ec71a4ad8f1513248709c4b03d4d9005 /laden
parent2edba53f397ba7c2524641ed426f702692ee18c2 (diff)
laden/
wortel/ 2003-09-21 Marco Gerards <metgerards@student.han.nl> * output-serial.c (serial_init): Make sure the order of the arguments of outb are correct.
Diffstat (limited to 'laden')
-rw-r--r--laden/ChangeLog3
-rw-r--r--laden/output-serial.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/laden/ChangeLog b/laden/ChangeLog
index 4cb94c3..57619cc 100644
--- a/laden/ChangeLog
+++ b/laden/ChangeLog
@@ -1,5 +1,8 @@
2003-09-21 Marco Gerards <metgerards@student.han.nl>
+ * output-serial.c (serial_init): Make sure the order of the
+ arguments of outb are correct.
+
* Makefile.am (AM_CPPFLAGS): New variable.
2003-09-19 Marcus Brinkmann <marcus@gnu.org>
diff --git a/laden/output-serial.c b/laden/output-serial.c
index 7a2436c..1cc6049 100644
--- a/laden/output-serial.c
+++ b/laden/output-serial.c
@@ -106,7 +106,7 @@ serial_init (const char *driver_cfg)
}
/* Parity bit. */
- outb (UART_LCR, 0x80);
+ outb (0x80, UART_LCR);
/* FIXME: Wait a bit. Would be nice to have a real sleep function. */
for (busy_wait_var = 0; busy_wait_var < 1000000; busy_wait_var++);