Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * The Linux BAYCOM driver for the Baycom serial 1200 baud modem
0004  * and the parallel 9600 baud modem
0005  * (C) 1997-1998 by Thomas Sailer, HB9JNX/AE4WA
0006  */
0007 
0008 #ifndef _BAYCOM_H
0009 #define _BAYCOM_H
0010 
0011 /* -------------------------------------------------------------------- */
0012 /*
0013  * structs for the IOCTL commands
0014  */
0015 
0016 struct baycom_debug_data {
0017     unsigned long debug1;
0018     unsigned long debug2;
0019     long debug3;
0020 };
0021 
0022 struct baycom_ioctl {
0023     int cmd;
0024     union {
0025         struct baycom_debug_data dbg;
0026     } data;
0027 };
0028 
0029 /* -------------------------------------------------------------------- */
0030 
0031 /*
0032  * ioctl values change for baycom
0033  */
0034 #define BAYCOMCTL_GETDEBUG       0x92
0035 
0036 /* -------------------------------------------------------------------- */
0037 
0038 #endif /* _BAYCOM_H */
0039 
0040 /* --------------------------------------------------------------------- */