- enable serial port for GNU and GNU/Linux

- use the same port name as in the configuration for BX_INFO ("com1")
This commit is contained in:
Volker Ruppert 2002-05-31 06:54:34 +00:00
parent c04d7cd10a
commit 52bf2216ca

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: serial.cc,v 1.19 2002-03-05 15:40:23 grossman Exp $
// $Id: serial.cc,v 1.20 2002-05-31 06:54:34 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -51,7 +51,7 @@
#endif
#endif
#if defined(__FreeBSD__) || defined(__OpenBSD__)
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__linux__) || defined(__GNU__)
#define SERIAL_ENABLE
#endif
@ -235,7 +235,7 @@ bx_serial_c::init(bx_devices_c *d)
addr, "Serial Port 1");
}
BX_INFO(( "com0 at 0x3f8/8 irq 4" ));
BX_INFO(( "com1 at 0x3f8/8 irq 4" ));
}