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/char/ip2/ip2trace.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/char/ip2/ip2trace.h')
-rw-r--r-- | drivers/char/ip2/ip2trace.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/drivers/char/ip2/ip2trace.h b/drivers/char/ip2/ip2trace.h new file mode 100644 index 000000000000..da20435dc8a6 --- /dev/null +++ b/drivers/char/ip2/ip2trace.h | |||
@@ -0,0 +1,42 @@ | |||
1 | |||
2 | // | ||
3 | union ip2breadcrumb | ||
4 | { | ||
5 | struct { | ||
6 | unsigned char port, cat, codes, label; | ||
7 | } __attribute__ ((packed)) hdr; | ||
8 | unsigned long value; | ||
9 | }; | ||
10 | |||
11 | #define ITRC_NO_PORT 0xFF | ||
12 | #define CHANN (pCh->port_index) | ||
13 | |||
14 | #define ITRC_ERROR '!' | ||
15 | #define ITRC_INIT 'A' | ||
16 | #define ITRC_OPEN 'B' | ||
17 | #define ITRC_CLOSE 'C' | ||
18 | #define ITRC_DRAIN 'D' | ||
19 | #define ITRC_IOCTL 'E' | ||
20 | #define ITRC_FLUSH 'F' | ||
21 | #define ITRC_STATUS 'G' | ||
22 | #define ITRC_HANGUP 'H' | ||
23 | #define ITRC_INTR 'I' | ||
24 | #define ITRC_SFLOW 'J' | ||
25 | #define ITRC_SBCMD 'K' | ||
26 | #define ITRC_SICMD 'L' | ||
27 | #define ITRC_MODEM 'M' | ||
28 | #define ITRC_INPUT 'N' | ||
29 | #define ITRC_OUTPUT 'O' | ||
30 | #define ITRC_PUTC 'P' | ||
31 | #define ITRC_QUEUE 'Q' | ||
32 | #define ITRC_STFLW 'R' | ||
33 | #define ITRC_SFIFO 'S' | ||
34 | #define ITRC_VERIFY 'V' | ||
35 | #define ITRC_WRITE 'W' | ||
36 | |||
37 | #define ITRC_ENTER 0x00 | ||
38 | #define ITRC_RETURN 0xFF | ||
39 | |||
40 | #define ITRC_QUEUE_ROOM 2 | ||
41 | #define ITRC_QUEUE_CMD 6 | ||
42 | |||