Skip to contentSkip to conversation

New driver - SGI SN2 serial console

PATCH New Chad Talbott 1 participant 1 message Jun 18, 2003 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 New driver - SGI SN2 serial console

Here is a serial console driver for the SGI SN2.

This patch is against Linus' bk tree to take advantage of Al Viro's recent tty allocation changes. It doesn't compile as ia64 is currently broken in that tree.

Chad

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas:
# ChangeSet 1.1307 -> 1.1308
# drivers/char/Kconfig 1.14 -> 1.15
# drivers/char/Makefile 1.57 -> 1.58
# (new) -> 1.3 drivers/char/sn_serial.c
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/06/18 [email protected] 1.1308
# SGI SN2 serial console support
# --------------------------------------------
#

drivers/char/Kconfig +16 -0
diff -Nru a/drivers/char/Kconfig b/drivers/char/Kconfig
@@ -391,6 +391,22 @@
 	  If you have an Alchemy AU1000 processor (MIPS based) and you want
 	  to use a console on a serial port, say Y.  Otherwise, say N.
 
+config SGI_L1_SERIAL
+	bool "SGI SN2 L1 serial port support"
+	depends on SERIAL_NONSTANDARD && IA64
+	help
+	  If you have an SGI SN2 and you want to use the serial port
+	  connected to the system controller (you want this!), say Y.
+	  Otherwise, say N.
+
+config SGI_L1_SERIAL_CONSOLE
+	bool "SGI SN2 L1 serial console support"
+	depends on SGI_L1_SERIAL
+	help
+	  If you have an SGI SN2 and you would like to use the system
+	  controller serial port as your console (you want this!), 
+	  say Y.  Otherwise, say N.
+
 config QTRONIX_KEYBOARD
 	bool "Enable Qtronix 990P Keyboard Support"
 	depends on IT8712
drivers/char/Makefile +1 -0
diff -Nru a/drivers/char/Makefile b/drivers/char/Makefile
@@ -41,6 +41,7 @@
 obj-$(CONFIG_SERIAL_TX3912) += generic_serial.o serial_tx3912.o
 obj-$(CONFIG_HVC_CONSOLE) += hvc_console.o
 obj-$(CONFIG_RAW_DRIVER) += raw.o
+obj-$(CONFIG_SGI_L1_SERIAL) += sn_serial.o
 
 obj-$(CONFIG_PRINTER) += lp.o
 obj-$(CONFIG_TIPAR) += tipar.o
drivers/char/sn_serial.c new file +896 -0

896 lines not on this page · raw message