1 /* cops.h: LocalTalk driver for Linux.
4 * - Jay Schulist <jschlst@samba.org>
7 #ifndef __LINUX_COPSLTALK_H
8 #define __LINUX_COPSLTALK_H
12 /* Max LLAP size we will accept. */
13 #define MAX_LLAP_SIZE 603
16 #define TANG_CARD_STATUS 1
17 #define TANG_CLEAR_INT 1
20 #define TANG_TX_READY 1
21 #define TANG_RX_READY 2
24 #define DAYNA_CMD_DATA 0
25 #define DAYNA_CLEAR_INT 1
26 #define DAYNA_CARD_STATUS 2
27 #define DAYNA_INT_CARD 3
30 #define DAYNA_RX_READY 0
31 #define DAYNA_TX_READY 1
32 #define DAYNA_RX_REQUEST 3
34 /* Same on both card types */
35 #define COPS_CLEAR_INT 1
37 /* LAP response codes received from the cards. */
38 #define LAP_INIT 1 /* Init cmd */
39 #define LAP_INIT_RSP 2 /* Init response */
40 #define LAP_WRITE 3 /* Write cmd */
41 #define DATA_READ 4 /* Data read */
42 #define LAP_RESPONSE 4 /* Received ALAP frame response */
43 #define LAP_GETSTAT 5 /* Get LAP and HW status */
44 #define LAP_RSPSTAT 6 /* Status response */
49 * Structure to hold the firmware information.
54 const unsigned char *data
;