sparc64: vcc: Enable VCC module in linux
authorJag Raman <jag.raman@oracle.com>
Tue, 15 Aug 2017 21:02:57 +0000 (17:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 04:33:50 +0000 (21:33 -0700)
Enables the Virtual Console Concentrator (VCC) module
in linux kernel

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
arch/sparc/configs/sparc64_defconfig
drivers/tty/Kconfig
drivers/tty/Makefile
drivers/tty/vcc.c [new file with mode: 0644]

index 84d6a8277cbde11208b197549d12f505556b87cf..28c0b4b984509effc627644517366f94349682d6 100644 (file)
@@ -12294,6 +12294,7 @@ F:      drivers/tty/serial/sunsab.h
 F:     drivers/tty/serial/sunsu.c
 F:     drivers/tty/serial/sunzilog.c
 F:     drivers/tty/serial/sunzilog.h
+F:     drivers/tty/vcc.c
 
 SPARSE CHECKER
 M:     "Christopher Li" <sparse@chrisli.org>
index ca8609d7292ffee5ffbf068eb2b11653bf59ff7c..4d4e1cc6402faa27f0d825d41ffcf39471805ee4 100644 (file)
@@ -238,3 +238,4 @@ CONFIG_CRYPTO_TWOFISH=m
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 CONFIG_CRC16=m
 CONFIG_LIBCRC32C=m
+CONFIG_VCC=m
index 95103054c0e469faf05472a6f3aa6e84e132eee1..8643b55dcae226816f855416d23bb9066b379837 100644 (file)
@@ -455,4 +455,9 @@ config MIPS_EJTAG_FDC_KGDB_CHAN
        help
          FDC channel number to use for KGDB.
 
+config VCC
+       tristate "Sun Virtual Console Concentrator"
+       depends on SUN_LDOMS
+       help
+         Support for Sun logical domain consoles.
 endif # TTY
index 8689279afdf1b53169243f2629076fb9fb3e7a29..16330a819685947e6c74dd139cdb4bef6b3b1f5f 100644 (file)
@@ -33,5 +33,6 @@ obj-$(CONFIG_PPC_EPAPR_HV_BYTECHAN) += ehv_bytechan.o
 obj-$(CONFIG_GOLDFISH_TTY)     += goldfish.o
 obj-$(CONFIG_DA_TTY)           += metag_da.o
 obj-$(CONFIG_MIPS_EJTAG_FDC_TTY) += mips_ejtag_fdc.o
+obj-$(CONFIG_VCC)              += vcc.o
 
 obj-y += ipwireless/
diff --git a/drivers/tty/vcc.c b/drivers/tty/vcc.c
new file mode 100644 (file)
index 0000000..e1b8099
--- /dev/null
@@ -0,0 +1,18 @@
+/* vcc.c: sun4v virtual channel concentrator
+ *
+ * Copyright (C) 2017 Oracle. All rights reserved.
+ */
+
+#include <linux/module.h>
+
+static int __init vcc_init(void)
+{
+       return 0;
+}
+
+static void __exit vcc_exit(void)
+{
+}
+
+module_init(vcc_init);
+module_exit(vcc_exit);