Commit 705b6c7b authored by Paul Fulghum's avatar Paul Fulghum Committed by Linus Torvalds

[PATCH] new driver synclink_gt

New character device driver for the SyncLink GT and SyncLink AC families of
synchronous and asynchronous serial adapters
Signed-off-by: default avatarPaul Fulghum <paulkf@microgate.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent de25968c
...@@ -220,6 +220,14 @@ config SYNCLINKMP ...@@ -220,6 +220,14 @@ config SYNCLINKMP
The module will be called synclinkmp. If you want to do that, say M The module will be called synclinkmp. If you want to do that, say M
here. here.
config SYNCLINK_GT
tristate "SyncLink GT/AC support"
depends on SERIAL_NONSTANDARD
help
Support for SyncLink GT and SyncLink AC families of
synchronous and asynchronous serial adapters
manufactured by Microgate Systems, Ltd. (www.microgate.com)
config N_HDLC config N_HDLC
tristate "HDLC line discipline support" tristate "HDLC line discipline support"
depends on SERIAL_NONSTANDARD depends on SERIAL_NONSTANDARD
......
...@@ -36,6 +36,7 @@ obj-$(CONFIG_RISCOM8) += riscom8.o ...@@ -36,6 +36,7 @@ obj-$(CONFIG_RISCOM8) += riscom8.o
obj-$(CONFIG_ISI) += isicom.o obj-$(CONFIG_ISI) += isicom.o
obj-$(CONFIG_SYNCLINK) += synclink.o obj-$(CONFIG_SYNCLINK) += synclink.o
obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o
obj-$(CONFIG_N_HDLC) += n_hdlc.o obj-$(CONFIG_N_HDLC) += n_hdlc.o
obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
obj-$(CONFIG_SX) += sx.o generic_serial.o obj-$(CONFIG_SX) += sx.o generic_serial.o
......
This source diff could not be displayed because it is too large. You can view the blob instead.
/* /*
* SyncLink Multiprotocol Serial Adapter Driver * SyncLink Multiprotocol Serial Adapter Driver
* *
* $Id: synclink.h,v 3.6 2002/02/20 21:58:20 paulkf Exp $ * $Id: synclink.h,v 3.10 2005/11/08 19:50:54 paulkf Exp $
* *
* Copyright (C) 1998-2000 by Microgate Corporation * Copyright (C) 1998-2000 by Microgate Corporation
* *
...@@ -128,10 +128,14 @@ ...@@ -128,10 +128,14 @@
#define MGSL_BUS_TYPE_EISA 2 #define MGSL_BUS_TYPE_EISA 2
#define MGSL_BUS_TYPE_PCI 5 #define MGSL_BUS_TYPE_PCI 5
#define MGSL_INTERFACE_MASK 0xf
#define MGSL_INTERFACE_DISABLE 0 #define MGSL_INTERFACE_DISABLE 0
#define MGSL_INTERFACE_RS232 1 #define MGSL_INTERFACE_RS232 1
#define MGSL_INTERFACE_V35 2 #define MGSL_INTERFACE_V35 2
#define MGSL_INTERFACE_RS422 3 #define MGSL_INTERFACE_RS422 3
#define MGSL_INTERFACE_RTS_EN 0x10
#define MGSL_INTERFACE_LL 0x20
#define MGSL_INTERFACE_RL 0x40
typedef struct _MGSL_PARAMS typedef struct _MGSL_PARAMS
{ {
...@@ -163,6 +167,9 @@ typedef struct _MGSL_PARAMS ...@@ -163,6 +167,9 @@ typedef struct _MGSL_PARAMS
#define SYNCLINK_DEVICE_ID 0x0010 #define SYNCLINK_DEVICE_ID 0x0010
#define MGSCC_DEVICE_ID 0x0020 #define MGSCC_DEVICE_ID 0x0020
#define SYNCLINK_SCA_DEVICE_ID 0x0030 #define SYNCLINK_SCA_DEVICE_ID 0x0030
#define SYNCLINK_GT_DEVICE_ID 0x0070
#define SYNCLINK_GT4_DEVICE_ID 0x0080
#define SYNCLINK_AC_DEVICE_ID 0x0090
#define MGSL_MAX_SERIAL_NUMBER 30 #define MGSL_MAX_SERIAL_NUMBER 30
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment