* grub-core/term/serial.c (grub_cmd_serial): Handle 1.5.
* include/grub/serial.h (grub_serial_stop_bits_t): Add
GRUB_SERIAL_STOP_BITS_1_5.
+2012-06-08 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Add a 1.5 stop bits value.
+
+ * grub-core/term/serial.c (grub_cmd_serial): Handle 1.5.
+ * include/grub/serial.h (grub_serial_stop_bits_t): Add
+ GRUB_SERIAL_STOP_BITS_1_5.
+
2012-06-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/wildcard.c (wildcard_expand): Set default return
config.stop_bits = GRUB_SERIAL_STOP_BITS_1;
else if (! grub_strcmp (state[5].arg, "2"))
config.stop_bits = GRUB_SERIAL_STOP_BITS_2;
+ else if (! grub_strcmp (state[5].arg, "1.5"))
+ config.stop_bits = GRUB_SERIAL_STOP_BITS_1_5;
else
return grub_error (GRUB_ERR_BAD_ARGUMENT,
N_("unsupported serial port stop bits number"));
typedef enum
{
GRUB_SERIAL_STOP_BITS_1,
+ GRUB_SERIAL_STOP_BITS_1_5,
GRUB_SERIAL_STOP_BITS_2,
} grub_serial_stop_bits_t;