aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/appletalk/cops.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/net/appletalk/cops.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'drivers/net/appletalk/cops.h')
-rw-r--r--drivers/net/appletalk/cops.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/drivers/net/appletalk/cops.h b/drivers/net/appletalk/cops.h
new file mode 100644
index 000000000000..c68ba9c2ef46
--- /dev/null
+++ b/drivers/net/appletalk/cops.h
@@ -0,0 +1,60 @@
1/* cops.h: LocalTalk driver for Linux.
2 *
3 * Authors:
4 * - Jay Schulist <jschlst@samba.org>
5 */
6
7#ifndef __LINUX_COPSLTALK_H
8#define __LINUX_COPSLTALK_H
9
10#ifdef __KERNEL__
11
12/* Max LLAP size we will accept. */
13#define MAX_LLAP_SIZE 603
14
15/* Tangent */
16#define TANG_CARD_STATUS 1
17#define TANG_CLEAR_INT 1
18#define TANG_RESET 3
19
20#define TANG_TX_READY 1
21#define TANG_RX_READY 2
22
23/* Dayna */
24#define DAYNA_CMD_DATA 0
25#define DAYNA_CLEAR_INT 1
26#define DAYNA_CARD_STATUS 2
27#define DAYNA_INT_CARD 3
28#define DAYNA_RESET 4
29
30#define DAYNA_RX_READY 0
31#define DAYNA_TX_READY 1
32#define DAYNA_RX_REQUEST 3
33
34/* Same on both card types */
35#define COPS_CLEAR_INT 1
36
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 */
45
46#endif
47
48/*
49 * Structure to hold the firmware information.
50 */
51struct ltfirmware
52{
53 unsigned int length;
54 unsigned char * data;
55};
56
57#define DAYNA 1
58#define TANGENT 2
59
60#endif