diff mbox

Add hypervisor consoles (hvc)

Message ID 20131202171727.7812d5c1@kryten
State Accepted
Commit ae6e4febf6e9a853f0a4158649731bfe52a1d0e0
Headers show

Commit Message

Anton Blanchard Dec. 2, 2013, 6:17 a.m. UTC
Add /dev/hvc* devices, and add them to securetty.

Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff mbox

Patch

diff --git a/system/device_table_dev.txt b/system/device_table_dev.txt
index 9507939..91ed769 100644
--- a/system/device_table_dev.txt
+++ b/system/device_table_dev.txt
@@ -36,6 +36,7 @@ 
 /dev/ttyPSC	c	666	0	0	204	148	0	1	4
 /dev/ttyUL	c	666	0	0	204	187	0	1	4
 /dev/ttymxc	c	666	0	0	207	16	0	1	4
+/dev/hvc	c	640	0	0	229	0	0	1	4
 
 # Input stuff
 /dev/input		d	755	0	0	-	-	-	-	-
diff --git a/system/skeleton/etc/securetty b/system/skeleton/etc/securetty
index 5a3d0c6..0722677 100644
--- a/system/skeleton/etc/securetty
+++ b/system/skeleton/etc/securetty
@@ -51,3 +51,7 @@  ttySC5
 ttySC6
 ttySC7
 ttyGS0
+hvc0
+hvc1
+hvc2
+hvc3