Blame view
include/linux/synclink.h
989 Bytes
1da177e4c Linux-2.6.12-rc2 |
1 2 3 |
/* * SyncLink Multiprotocol Serial Adapter Driver * |
cb10dc9ac [PATCH] synclink_... |
4 |
* $Id: synclink.h,v 3.14 2006/07/17 20:15:43 paulkf Exp $ |
1da177e4c Linux-2.6.12-rc2 |
5 6 7 8 9 10 |
* * Copyright (C) 1998-2000 by Microgate Corporation * * Redistribution of this file is permitted under * the terms of the GNU Public License (GPL) */ |
1da177e4c Linux-2.6.12-rc2 |
11 12 |
#ifndef _SYNCLINK_H_ #define _SYNCLINK_H_ |
1da177e4c Linux-2.6.12-rc2 |
13 |
|
607ca46e9 UAPI: (Scripted) ... |
14 |
#include <uapi/linux/synclink.h> |
1da177e4c Linux-2.6.12-rc2 |
15 |
|
2acdb1694 synclink_gt: add ... |
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
/* provide 32 bit ioctl compatibility on 64 bit systems */ #ifdef CONFIG_COMPAT #include <linux/compat.h> struct MGSL_PARAMS32 { compat_ulong_t mode; unsigned char loopback; unsigned short flags; unsigned char encoding; compat_ulong_t clock_speed; unsigned char addr_filter; unsigned short crc_type; unsigned char preamble_length; unsigned char preamble; compat_ulong_t data_rate; unsigned char data_bits; unsigned char stop_bits; unsigned char parity; }; #define MGSL_IOCSPARAMS32 _IOW(MGSL_MAGIC_IOC,0,struct MGSL_PARAMS32) #define MGSL_IOCGPARAMS32 _IOR(MGSL_MAGIC_IOC,1,struct MGSL_PARAMS32) #endif |
1da177e4c Linux-2.6.12-rc2 |
37 |
#endif /* _SYNCLINK_H_ */ |