|
|
a5bd9f6 |
From 2cce795e46cef6c5f057d46bae9a845621ca4a95 Mon Sep 17 00:00:00 2001
|
|
|
a5bd9f6 |
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
|
|
|
a5bd9f6 |
Date: Mon, 2 Jul 2012 11:30:04 +0200
|
|
|
a5bd9f6 |
Subject: [PATCH 008/364] * grub-core/term/efi/serial.c: Support 1.5
|
|
|
a5bd9f6 |
stop bits.
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
---
|
|
|
a5bd9f6 |
ChangeLog | 4 ++++
|
|
|
a5bd9f6 |
grub-core/term/efi/serial.c | 2 ++
|
|
|
a5bd9f6 |
2 files changed, 6 insertions(+)
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
diff --git a/ChangeLog b/ChangeLog
|
|
|
a5bd9f6 |
index 93ad0ac..5f73c88 100644
|
|
|
a5bd9f6 |
--- a/ChangeLog
|
|
|
a5bd9f6 |
+++ b/ChangeLog
|
|
|
a5bd9f6 |
@@ -1,5 +1,9 @@
|
|
|
a5bd9f6 |
2012-07-02 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
+ * grub-core/term/efi/serial.c: Support 1.5 stop bits.
|
|
|
a5bd9f6 |
+
|
|
|
a5bd9f6 |
+2012-07-02 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
a5bd9f6 |
+
|
|
|
a5bd9f6 |
* grub-core/fs/ext2.c: Experimental support for 64-bit.
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
2012-07-02 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
a5bd9f6 |
diff --git a/grub-core/term/efi/serial.c b/grub-core/term/efi/serial.c
|
|
|
a5bd9f6 |
index da8c3ce..dc5f33b 100644
|
|
|
a5bd9f6 |
--- a/grub-core/term/efi/serial.c
|
|
|
a5bd9f6 |
+++ b/grub-core/term/efi/serial.c
|
|
|
a5bd9f6 |
@@ -44,6 +44,7 @@ do_real_config (struct grub_serial_port *port)
|
|
|
a5bd9f6 |
};
|
|
|
a5bd9f6 |
const grub_efi_stop_bits_t stop_bits[] = {
|
|
|
a5bd9f6 |
[GRUB_SERIAL_STOP_BITS_1] = GRUB_EFI_SERIAL_1_STOP_BIT,
|
|
|
a5bd9f6 |
+ [GRUB_SERIAL_STOP_BITS_1_5] = GRUB_EFI_SERIAL_1_5_STOP_BITS,
|
|
|
a5bd9f6 |
[GRUB_SERIAL_STOP_BITS_2] = GRUB_EFI_SERIAL_2_STOP_BITS,
|
|
|
a5bd9f6 |
};
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
@@ -111,6 +112,7 @@ serial_hw_configure (struct grub_serial_port *port,
|
|
|
a5bd9f6 |
N_("unsupported serial port parity"));
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
if (config->stop_bits != GRUB_SERIAL_STOP_BITS_1
|
|
|
a5bd9f6 |
+ && config->stop_bits != GRUB_SERIAL_STOP_BITS_1_5
|
|
|
a5bd9f6 |
&& config->stop_bits != GRUB_SERIAL_STOP_BITS_2)
|
|
|
a5bd9f6 |
return grub_error (GRUB_ERR_BAD_ARGUMENT,
|
|
|
a5bd9f6 |
N_("unsupported serial port stop bits number"));
|
|
|
a5bd9f6 |
--
|
|
|
a5bd9f6 |
1.8.1.4
|
|
|
a5bd9f6 |
|