baycom.h 820 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * The Linux BAYCOM driver for the Baycom serial 1200 baud modem
  3. * and the parallel 9600 baud modem
  4. * (C) 1997-1998 by Thomas Sailer, HB9JNX/AE4WA
  5. */
  6. #ifndef _BAYCOM_H
  7. #define _BAYCOM_H
  8. /* -------------------------------------------------------------------- */
  9. /*
  10. * structs for the IOCTL commands
  11. */
  12. struct baycom_debug_data {
  13. unsigned long debug1;
  14. unsigned long debug2;
  15. long debug3;
  16. };
  17. struct baycom_ioctl {
  18. int cmd;
  19. union {
  20. struct baycom_debug_data dbg;
  21. } data;
  22. };
  23. /* -------------------------------------------------------------------- */
  24. /*
  25. * ioctl values change for baycom
  26. */
  27. #define BAYCOMCTL_GETDEBUG 0x92
  28. /* -------------------------------------------------------------------- */
  29. #endif /* _BAYCOM_H */
  30. /* --------------------------------------------------------------------- */