arcofi.h 720 B

12345678910111213141516171819202122232425262728
  1. /* $Id: arcofi.h,v 1.6.6.2 2001/09/23 22:24:46 kai Exp $
  2. *
  3. * Ansteuerung ARCOFI 2165
  4. *
  5. * Author Karsten Keil
  6. * Copyright by Karsten Keil <keil@isdn4linux.de>
  7. *
  8. * This software may be used and distributed according to the terms
  9. * of the GNU General Public License, incorporated herein by reference.
  10. *
  11. */
  12. #define ARCOFI_USE 1
  13. /* states */
  14. #define ARCOFI_NOP 0
  15. #define ARCOFI_TRANSMIT 1
  16. #define ARCOFI_RECEIVE 2
  17. /* events */
  18. #define ARCOFI_START 1
  19. #define ARCOFI_TX_END 2
  20. #define ARCOFI_RX_END 3
  21. #define ARCOFI_TIMEOUT 4
  22. extern int arcofi_fsm(struct IsdnCardState *cs, int event, void *data);
  23. extern void init_arcofi(struct IsdnCardState *cs);
  24. extern void clear_arcofi(struct IsdnCardState *cs);