linux/include/uapi/linux/baycom.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2/*
   3 * The Linux BAYCOM driver for the Baycom serial 1200 baud modem
   4 * and the parallel 9600 baud modem
   5 * (C) 1997-1998 by Thomas Sailer, HB9JNX/AE4WA
   6 */
   7
   8#ifndef _BAYCOM_H
   9#define _BAYCOM_H
  10
  11/* -------------------------------------------------------------------- */
  12/*
  13 * structs for the IOCTL commands
  14 */
  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 baycom
  33 */
  34#define BAYCOMCTL_GETDEBUG       0x92
  35
  36/* -------------------------------------------------------------------- */
  37
  38#endif /* _BAYCOM_H */
  39
  40/* --------------------------------------------------------------------- */
  41