Blame SOURCES/0008-grub-core-term-efi-serial.c-Support-1.5-stop-bits.patch

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