From fbc5d953f108f399ef551d8467e2b62714850c02 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 24 Sep 1997 06:02:45 +0000 Subject: we have no bus here --- sys/arch/i386/stand/libsa/bioscons.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/i386/stand/libsa/bioscons.c b/sys/arch/i386/stand/libsa/bioscons.c index 44b61481d49..d5a88ea58de 100644 --- a/sys/arch/i386/stand/libsa/bioscons.c +++ b/sys/arch/i386/stand/libsa/bioscons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioscons.c,v 1.9 1997/09/20 22:40:42 flipk Exp $ */ +/* $OpenBSD: bioscons.c,v 1.10 1997/09/24 06:02:44 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include @@ -212,14 +211,10 @@ com_setsp(sp) user change the terminal */ for (tt = getsecs() + 5; getsecs() < tt;); } - bus_space_write_1(I386_BUS_SPACE_IO, comports[unit], - com_cfcr, LCR_DLAB); - bus_space_write_1(I386_BUS_SPACE_IO, comports[unit], - com_dlbl, newsp); - bus_space_write_1(I386_BUS_SPACE_IO, comports[unit], - com_dlbh, newsp>>8); - bus_space_write_1(I386_BUS_SPACE_IO, comports[unit], - com_cfcr, LCR_8BITS); + outb(comports[unit] + com_cfcr, LCR_DLAB); + outb(comports[unit] + com_dlbl, newsp); + outb(comports[unit] + com_dlbh, newsp>>8); + outb(comports[unit] + com_cfcr, LCR_8BITS); printf("using com%d console at %d baud\n", unit, sp); } else { printf("speed on next com device will be %d\n" -- cgit v1.2.3