diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/net/appletalk/ltpc.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/ltpc.h')
-rw-r--r-- | drivers/net/appletalk/ltpc.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/drivers/net/appletalk/ltpc.h b/drivers/net/appletalk/ltpc.h new file mode 100644 index 000000000000..cd30544a3729 --- /dev/null +++ b/drivers/net/appletalk/ltpc.h | |||
@@ -0,0 +1,73 @@ | |||
1 | /*** ltpc.h | ||
2 | * | ||
3 | * | ||
4 | ***/ | ||
5 | |||
6 | #define LT_GETRESULT 0x00 | ||
7 | #define LT_WRITEMEM 0x01 | ||
8 | #define LT_READMEM 0x02 | ||
9 | #define LT_GETFLAGS 0x04 | ||
10 | #define LT_SETFLAGS 0x05 | ||
11 | #define LT_INIT 0x10 | ||
12 | #define LT_SENDLAP 0x13 | ||
13 | #define LT_RCVLAP 0x14 | ||
14 | |||
15 | /* the flag that we care about */ | ||
16 | #define LT_FLAG_ALLLAP 0x04 | ||
17 | |||
18 | struct lt_getresult { | ||
19 | unsigned char command; | ||
20 | unsigned char mailbox; | ||
21 | }; | ||
22 | |||
23 | struct lt_mem { | ||
24 | unsigned char command; | ||
25 | unsigned char mailbox; | ||
26 | unsigned short addr; /* host order */ | ||
27 | unsigned short length; /* host order */ | ||
28 | }; | ||
29 | |||
30 | struct lt_setflags { | ||
31 | unsigned char command; | ||
32 | unsigned char mailbox; | ||
33 | unsigned char flags; | ||
34 | }; | ||
35 | |||
36 | struct lt_getflags { | ||
37 | unsigned char command; | ||
38 | unsigned char mailbox; | ||
39 | }; | ||
40 | |||
41 | struct lt_init { | ||
42 | unsigned char command; | ||
43 | unsigned char mailbox; | ||
44 | unsigned char hint; | ||
45 | }; | ||
46 | |||
47 | struct lt_sendlap { | ||
48 | unsigned char command; | ||
49 | unsigned char mailbox; | ||
50 | unsigned char dnode; | ||
51 | unsigned char laptype; | ||
52 | unsigned short length; /* host order */ | ||
53 | }; | ||
54 | |||
55 | struct lt_rcvlap { | ||
56 | unsigned char command; | ||
57 | unsigned char dnode; | ||
58 | unsigned char snode; | ||
59 | unsigned char laptype; | ||
60 | unsigned short length; /* host order */ | ||
61 | }; | ||
62 | |||
63 | union lt_command { | ||
64 | struct lt_getresult getresult; | ||
65 | struct lt_mem mem; | ||
66 | struct lt_setflags setflags; | ||
67 | struct lt_getflags getflags; | ||
68 | struct lt_init init; | ||
69 | struct lt_sendlap sendlap; | ||
70 | struct lt_rcvlap rcvlap; | ||
71 | }; | ||
72 | typedef union lt_command lt_command; | ||
73 | |||