2 * SyncLink Multiprotocol Serial Adapter Driver
4 * $Id: synclink.h,v 3.14 2006/07/17 20:15:43 paulkf Exp $
6 * Copyright (C) 1998-2000 by Microgate Corporation
8 * Redistribution of this file is permitted under
9 * the terms of the GNU Public License (GPL)
14 #include <uapi/linux/synclink.h>
16 /* provide 32 bit ioctl compatibility on 64 bit systems */
18 #include <linux/compat.h>
19 struct MGSL_PARAMS32
{
21 unsigned char loopback
;
23 unsigned char encoding
;
24 compat_ulong_t clock_speed
;
25 unsigned char addr_filter
;
26 unsigned short crc_type
;
27 unsigned char preamble_length
;
28 unsigned char preamble
;
29 compat_ulong_t data_rate
;
30 unsigned char data_bits
;
31 unsigned char stop_bits
;
34 #define MGSL_IOCSPARAMS32 _IOW(MGSL_MAGIC_IOC,0,struct MGSL_PARAMS32)
35 #define MGSL_IOCGPARAMS32 _IOR(MGSL_MAGIC_IOC,1,struct MGSL_PARAMS32)
37 #endif /* _SYNCLINK_H_ */