diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2008-04-25 11:30:23 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2008-04-25 11:30:23 +0000 |
commit | ca91be4e3827c629bf6a507e3809cdb336b56632 (patch) | |
tree | 6959811ac356b6924cba36954474fb36e9fc8b37 /sys/dev/ic | |
parent | 96a9b7f1c26750efcc42065b4f5f1f2505e405d2 (diff) |
the code that parses arguments from the boot loader on amd64 wasnt checking
what type of console was specified, so when a glass console was used it was
still configuring serial bits. this makes it so serial config only occurs
for serial console devices.
found by jolan@, thib@, and maybe sthen@
sorry guys
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/com.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c index 87434c86160..53e219c86dc 100644 --- a/sys/dev/ic/com.c +++ b/sys/dev/ic/com.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com.c,v 1.126 2008/04/24 12:54:44 jsing Exp $ */ +/* $OpenBSD: com.c,v 1.127 2008/04/25 11:30:22 dlg Exp $ */ /* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */ /* @@ -126,7 +126,7 @@ bus_addr_t comsiraddr; int comconsfreq; int comconsrate = TTYDEF_SPEED; int comconsinit; -bus_addr_t comconsaddr = CONADDR; +bus_addr_t comconsaddr = 0; int comconsattached; bus_space_tag_t comconsiot; bus_space_handle_t comconsioh; |