1
/* API only version generated from kernel drivers/isdn/pcbit/pcbit.h */
4
* PCBIT-D device driver definitions
6
* Copyright (C) 1996 Universidade de Lisboa
8
* Written by Pedro Roque Marques (roque@di.fc.ul.pt)
10
* This software may be used and distributed according to the terms of
11
* the GNU General Public License, incorporated herein by reference.
17
#define MAX_PCBIT_CARDS 4
21
/* isdn_ctrl only allows a long sized argument */
29
unsigned long l2_status;
35
#define PCBIT_IOCTL_GETSTAT 0x01 /* layer2 status */
36
#define PCBIT_IOCTL_LWMODE 0x02 /* linear write mode */
37
#define PCBIT_IOCTL_STRLOAD 0x03 /* start load mode */
38
#define PCBIT_IOCTL_ENDLOAD 0x04 /* end load mode */
39
#define PCBIT_IOCTL_SETBYTE 0x05 /* set byte */
40
#define PCBIT_IOCTL_GETBYTE 0x06 /* get byte */
41
#define PCBIT_IOCTL_RUNNING 0x07 /* set protocol running */
42
#define PCBIT_IOCTL_WATCH188 0x08 /* set watch 188 */
43
#define PCBIT_IOCTL_PING188 0x09 /* ping 188 */
44
#define PCBIT_IOCTL_FWMODE 0x0A /* firmware write mode */
45
#define PCBIT_IOCTL_STOP 0x0B /* stop protocol */
46
#define PCBIT_IOCTL_APION 0x0C /* issue API_ON */
48
#define PCBIT_GETSTAT (PCBIT_IOCTL_GETSTAT + IIOCDRVCTL)
49
#define PCBIT_LWMODE (PCBIT_IOCTL_LWMODE + IIOCDRVCTL)
50
#define PCBIT_STRLOAD (PCBIT_IOCTL_STRLOAD + IIOCDRVCTL)
51
#define PCBIT_ENDLOAD (PCBIT_IOCTL_ENDLOAD + IIOCDRVCTL)
52
#define PCBIT_SETBYTE (PCBIT_IOCTL_SETBYTE + IIOCDRVCTL)
53
#define PCBIT_GETBYTE (PCBIT_IOCTL_GETBYTE + IIOCDRVCTL)
54
#define PCBIT_RUNNING (PCBIT_IOCTL_RUNNING + IIOCDRVCTL)
55
#define PCBIT_WATCH188 (PCBIT_IOCTL_WATCH188 + IIOCDRVCTL)
56
#define PCBIT_PING188 (PCBIT_IOCTL_PING188 + IIOCDRVCTL)
57
#define PCBIT_FWMODE (PCBIT_IOCTL_FWMODE + IIOCDRVCTL)
58
#define PCBIT_STOP (PCBIT_IOCTL_STOP + IIOCDRVCTL)
59
#define PCBIT_APION (PCBIT_IOCTL_APION + IIOCDRVCTL)
61
#define MAXSUPERLINE 3000