sysvinit-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sysvinit-devel] [PATCH] Make bootlogd aware of ttyPS* console devices p


From: Richard Tollerton
Subject: [sysvinit-devel] [PATCH] Make bootlogd aware of ttyPS* console devices present on Xilinx ZYNQ processors.
Date: Fri, 31 Jul 2015 16:21:55 -0500

Signed-off-by: Richard Tollerton <address@hidden>
---
 src/bootlogd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bootlogd.c b/src/bootlogd.c
index 4f820a8..dce1631 100644
--- a/src/bootlogd.c
+++ b/src/bootlogd.c
@@ -85,6 +85,7 @@ struct consdev {
        { "ttyB",       "/dev/ttyB%s",          NULL            },
        { "ttySC",      "/dev/ttySC%s",         "/dev/ttsc/%s"  },
        { "ttyS",       "/dev/ttyS%s",          "/dev/tts/%s"   },
+       { "ttyPS",      "/dev/ttyPS%s",         NULL            },
        { "tty",        "/dev/tty%s",           "/dev/vc/%s"    },
        { "hvc",        "/dev/hvc%s",           "/dev/hvc/%s"   },
        { NULL,         NULL,                   NULL            },
@@ -94,7 +95,7 @@ struct consdev {
  *     Devices to try as console if not found on kernel command line.
  *     Tried from left to right (as opposed to kernel cmdline).
  */
-char *defcons[] = { "tty0", "hvc0", "ttyS0", "ttySC0", "ttyB0", NULL };
+char *defcons[] = { "tty0", "hvc0", "ttyS0", "ttyPS0", "ttySC0", "ttyB0", NULL 
};
 
 /*
  *     Catch signals.
-- 
2.5.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]