41 lines · c
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */2/*3 * The Linux BAYCOM driver for the Baycom serial 1200 baud modem4 * and the parallel 9600 baud modem5 * (C) 1997-1998 by Thomas Sailer, HB9JNX/AE4WA6 */7 8#ifndef _BAYCOM_H9#define _BAYCOM_H10 11/* -------------------------------------------------------------------- */12/*13 * structs for the IOCTL commands14 */15 16struct baycom_debug_data {17 unsigned long debug1;18 unsigned long debug2;19 long debug3;20};21 22struct baycom_ioctl {23 int cmd;24 union {25 struct baycom_debug_data dbg;26 } data;27};28 29/* -------------------------------------------------------------------- */30 31/*32 * ioctl values change for baycom33 */34#define BAYCOMCTL_GETDEBUG 0x9235 36/* -------------------------------------------------------------------- */37 38#endif /* _BAYCOM_H */39 40/* --------------------------------------------------------------------- */41