Skip to content

Commit 2d0cfb5

Browse files
Patrick GefreLinus Torvalds
authored andcommitted
[PATCH] Altix: ioc3 serial support
Add driver support for a 2 port PCI IOC3-based serial card on Altix boxes: This is a re-submission. On the original submission I was asked to organize the code so that the MIPS ioc3 ethernet and serial parts could be used with this driver. Stanislaw Skowronek was kind enough to provide the shim layer for this - thanks Stanislaw. This patch includes the shim layer and the Altix PCI ioc3 serial driver. The MIPS merged ioc3 ethernet and serial support is forthcoming. Signed-off-by: Patrick Gefre <pfg@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 7170be5 commit 2d0cfb5

10 files changed

Lines changed: 3410 additions & 1 deletion

File tree

‎arch/ia64/configs/gensparse_defconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,7 @@ CONFIG_SERIAL_CORE_CONSOLE=y
701701
CONFIG_SERIAL_SGI_L1_CONSOLE=y
702702
# CONFIG_SERIAL_JSM is not set
703703
CONFIG_SERIAL_SGI_IOC4=y
704+
CONFIG_SERIAL_SGI_IOC3=y
704705
CONFIG_UNIX98_PTYS=y
705706
CONFIG_LEGACY_PTYS=y
706707
CONFIG_LEGACY_PTY_COUNT=256
@@ -1046,6 +1047,7 @@ CONFIG_INFINIBAND_IPOIB=m
10461047
# SN Devices
10471048
#
10481049
CONFIG_SGI_IOC4=y
1050+
CONFIG_SGI_IOC3=y
10491051

10501052
#
10511053
# File systems

‎arch/ia64/configs/sn2_defconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,7 @@ CONFIG_SERIAL_CORE_CONSOLE=y
659659
CONFIG_SERIAL_SGI_L1_CONSOLE=y
660660
# CONFIG_SERIAL_JSM is not set
661661
CONFIG_SERIAL_SGI_IOC4=y
662+
CONFIG_SERIAL_SGI_IOC3=y
662663
CONFIG_UNIX98_PTYS=y
663664
CONFIG_LEGACY_PTYS=y
664665
CONFIG_LEGACY_PTY_COUNT=256
@@ -899,6 +900,7 @@ CONFIG_INFINIBAND_SRP=m
899900
# SN Devices
900901
#
901902
CONFIG_SGI_IOC4=y
903+
CONFIG_SGI_IOC3=y
902904

903905
#
904906
# File systems

‎drivers/serial/Kconfig‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ config SERIAL_8250_BOCA
190190
To compile this driver as a module, choose M here: the module
191191
will be called 8250_boca.
192192

193-
194193
config SERIAL_8250_HUB6
195194
tristate "Support Hub6 cards"
196195
depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
@@ -917,4 +916,12 @@ config SERIAL_SGI_IOC4
917916
and wish to use the serial ports on this card, say Y.
918917
Otherwise, say N.
919918

919+
config SERIAL_SGI_IOC3
920+
tristate "SGI Altix IOC3 serial support"
921+
depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC3
922+
select SERIAL_CORE
923+
help
924+
If you have an SGI Altix with an IOC3 serial card,
925+
say Y or M. Otherwise, say N.
926+
920927
endmenu

‎drivers/serial/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,5 @@ obj-$(CONFIG_SERIAL_JSM) += jsm/
5656
obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o
5757
obj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o
5858
obj-$(CONFIG_SERIAL_SGI_IOC4) += ioc4_serial.o
59+
obj-$(CONFIG_SERIAL_SGI_IOC3) += ioc3_serial.o
5960
obj-$(CONFIG_SERIAL_AT91) += at91_serial.o

0 commit comments

Comments
 (0)