diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-20 14:42:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-20 14:46:09 +0000 |
commit | 1b0a3e1c91915514f56293cb07768be638846185 (patch) | |
tree | 1a2daf61960190ec54e1520305987213a2e141b4 /main/mkinitfs/0001-init-add-support-for-ttyMFD-and-ttyUSB-serial-consol.patch | |
parent | e504f0a528f8a21d954593a74579facfb72df72b (diff) | |
download | aports-1b0a3e1c91915514f56293cb07768be638846185.tar.bz2 aports-1b0a3e1c91915514f56293cb07768be638846185.tar.xz |
main/mkinitfs: fix ttyMFD/ttyUSB serial consoles and use 115200 speed
ref #5759
Diffstat (limited to 'main/mkinitfs/0001-init-add-support-for-ttyMFD-and-ttyUSB-serial-consol.patch')
-rw-r--r-- | main/mkinitfs/0001-init-add-support-for-ttyMFD-and-ttyUSB-serial-consol.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/mkinitfs/0001-init-add-support-for-ttyMFD-and-ttyUSB-serial-consol.patch b/main/mkinitfs/0001-init-add-support-for-ttyMFD-and-ttyUSB-serial-consol.patch new file mode 100644 index 0000000000..1df20a507a --- /dev/null +++ b/main/mkinitfs/0001-init-add-support-for-ttyMFD-and-ttyUSB-serial-consol.patch @@ -0,0 +1,28 @@ +From 77a16e989a53d39a122c16f690b896bed97707a0 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Mon, 20 Jun 2016 14:29:19 +0000 +Subject: [PATCH] init: add support for ttyMFD and ttyUSB serial console + +and set default speed to 115200. +--- + initramfs-init.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/initramfs-init.in b/initramfs-init.in +index 10bc3ea..8a3014f 100755 +--- a/initramfs-init.in ++++ b/initramfs-init.in +@@ -112,8 +112,8 @@ setup_inittab_console(){ + local line= + local term= + case "$tty" in +- ttyS*) +- [ "$speed" = "$1" ] && speed=9600 ++ ttyS*|ttyMFD*|ttyUSB*) ++ [ "$speed" = "$1" ] && speed=115200 + term=vt100 + line=-L + ;; +-- +2.9.0 + |