Page MenuHomeFreeBSD

D36052.diff
No OneTemporary

D36052.diff

Index: stand/efi/loader/efiserialio.c
===================================================================
--- stand/efi/loader/efiserialio.c
+++ stand/efi/loader/efiserialio.c
@@ -40,10 +40,6 @@
#define COMC_TXWAIT 0x40000 /* transmit timeout */
-#ifndef COMSPEED
-#define COMSPEED 9600
-#endif
-
#define PNP0501 0x501 /* 16550A-compatible COM port */
struct serial {
@@ -261,11 +257,14 @@
if (comc_port == NULL)
return;
}
- comc_port->baudrate = COMSPEED;
- comc_port->ioaddr = 0; /* default port */
- comc_port->databits = 8; /* 8,n,1 */
- comc_port->parity = NoParity; /* 8,n,1 */
- comc_port->stopbits = OneStopBit; /* 8,n,1 */
+ /*
+ * setting default values from firmware
+ */
+ comc_port->baudrate = 0;
+ comc_port->ioaddr = 0;
+ comc_port->databits = 0;
+ comc_port->parity = DefaultParity;
+ comc_port->stopbits = DefaultStopBits;
comc_port->ignore_cd = 1; /* ignore cd */
comc_port->rtsdtr_off = 0; /* rts-dtr is on */
comc_port->sio = NULL;

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 4:44 PM (18 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15490966
Default Alt Text
D36052.diff (987 B)

Event Timeline