summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorGabriele Giacone <1o5g4r8o@gmail.com>2012-03-03 01:23:13 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-03 01:23:13 +0100
commit2a603e88f86bee88e013c2451eacf076fbcaed81 (patch)
treeb6db1af093fdd16c6fc94b8342bd70ec8b8a37fb /i386
parentd835819869c55d2105eae6ac86ad7eb7250fb9c2 (diff)
Set default serial parameters to 8N1 instead of 7E1
* i386/i386at/com.c (comcninit): Set LINE_CTL register to i8BITS instead of i7BITS|iPEN.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386at/com.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index 9ffe874..f02c7f8 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -265,7 +265,7 @@ comcninit(struct consdev *cp)
outb(LINE_CTL(addr), iDLAB);
outb(BAUD_LSB(addr), divisorreg[RCBAUD] & 0xff);
outb(BAUD_MSB(addr), divisorreg[RCBAUD] >>8);
- outb(LINE_CTL(addr), i7BITS|iPEN);
+ outb(LINE_CTL(addr), i8BITS);
outb(INTR_ENAB(addr), 0);
outb(MODEM_CTL(addr), iDTR|iRTS|iOUT2);