Commit 2dba8370 authored by Paul Fulghum's avatar Paul Fulghum Committed by Linus Torvalds

[PATCH] 2.5.11 synclink.h

This patch to synclink.h against 2.5.11 is required
for the synclink_cs.c driver to compile.
parent ee2a8d65
/* /*
* SyncLink Multiprotocol Serial Adapter Driver * SyncLink Multiprotocol Serial Adapter Driver
* *
* $Id: synclink.h,v 3.5 2001/03/26 17:04:36 ez Exp $ * $Id: synclink.h,v 3.6 2002/02/20 21:58:20 paulkf Exp $
* *
* Copyright (C) 1998-2000 by Microgate Corporation * Copyright (C) 1998-2000 by Microgate Corporation
* *
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#ifndef _SYNCLINK_H_ #ifndef _SYNCLINK_H_
#define _SYNCLINK_H_ #define _SYNCLINK_H_
#define SYNCLINK_H_VERSION 3.5 #define SYNCLINK_H_VERSION 3.6
#define BOOLEAN int #define BOOLEAN int
#define TRUE 1 #define TRUE 1
...@@ -128,6 +128,11 @@ ...@@ -128,6 +128,11 @@
#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_DISABLE 0
#define MGSL_INTERFACE_RS232 1
#define MGSL_INTERFACE_V35 2
#define MGSL_INTERFACE_RS422 3
typedef struct _MGSL_PARAMS typedef struct _MGSL_PARAMS
{ {
/* Common */ /* Common */
...@@ -247,6 +252,8 @@ struct mgsl_icount { ...@@ -247,6 +252,8 @@ struct mgsl_icount {
* MGSL_IOCGSTATS return current statistics * MGSL_IOCGSTATS return current statistics
* MGSL_IOCWAITEVENT wait for specified event to occur * MGSL_IOCWAITEVENT wait for specified event to occur
* MGSL_LOOPTXDONE transmit in HDLC LoopMode done * MGSL_LOOPTXDONE transmit in HDLC LoopMode done
* MGSL_IOCSIF set the serial interface type
* MGSL_IOCGIF get the serial interface type
*/ */
#define MGSL_MAGIC_IOC 'm' #define MGSL_MAGIC_IOC 'm'
#define MGSL_IOCSPARAMS _IOW(MGSL_MAGIC_IOC,0,struct _MGSL_PARAMS) #define MGSL_IOCSPARAMS _IOW(MGSL_MAGIC_IOC,0,struct _MGSL_PARAMS)
...@@ -260,5 +267,7 @@ struct mgsl_icount { ...@@ -260,5 +267,7 @@ struct mgsl_icount {
#define MGSL_IOCWAITEVENT _IOWR(MGSL_MAGIC_IOC,8,int) #define MGSL_IOCWAITEVENT _IOWR(MGSL_MAGIC_IOC,8,int)
#define MGSL_IOCCLRMODCOUNT _IO(MGSL_MAGIC_IOC,15) #define MGSL_IOCCLRMODCOUNT _IO(MGSL_MAGIC_IOC,15)
#define MGSL_IOCLOOPTXDONE _IO(MGSL_MAGIC_IOC,9) #define MGSL_IOCLOOPTXDONE _IO(MGSL_MAGIC_IOC,9)
#define MGSL_IOCSIF _IO(MGSL_MAGIC_IOC,10)
#define MGSL_IOCGIF _IO(MGSL_MAGIC_IOC,11)
#endif /* _SYNCLINK_H_ */ #endif /* _SYNCLINK_H_ */
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