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/applicom.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/applicom.h')
-rw-r--r-- | drivers/char/applicom.h | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/drivers/char/applicom.h b/drivers/char/applicom.h new file mode 100644 index 000000000000..35530b3d9bd6 --- /dev/null +++ b/drivers/char/applicom.h | |||
@@ -0,0 +1,85 @@ | |||
1 | /* $Id: applicom.h,v 1.2 1999/08/28 15:09:49 dwmw2 Exp $ */ | ||
2 | |||
3 | |||
4 | #ifndef __LINUX_APPLICOM_H__ | ||
5 | #define __LINUX_APPLICOM_H__ | ||
6 | |||
7 | |||
8 | #define DATA_TO_PC_READY 0x00 | ||
9 | #define TIC_OWNER_TO_PC 0x01 | ||
10 | #define NUMCARD_OWNER_TO_PC 0x02 | ||
11 | #define TIC_DES_TO_PC 0x03 | ||
12 | #define NUMCARD_DES_TO_PC 0x04 | ||
13 | #define DATA_FROM_PC_READY 0x05 | ||
14 | #define TIC_OWNER_FROM_PC 0x06 | ||
15 | #define NUMCARD_OWNER_FROM_PC 0x07 | ||
16 | #define TIC_DES_FROM_PC 0x08 | ||
17 | #define NUMCARD_DES_FROM_PC 0x09 | ||
18 | #define ACK_FROM_PC_READY 0x0E | ||
19 | #define TIC_ACK_FROM_PC 0x0F | ||
20 | #define NUMCARD_ACK_FROM_PC 0x010 | ||
21 | #define TYP_ACK_FROM_PC 0x011 | ||
22 | #define CONF_END_TEST 0x012 | ||
23 | #define ERROR_CODE 0x016 | ||
24 | #define PARAMETER_ERROR 0x018 | ||
25 | #define VERS 0x01E | ||
26 | #define RAM_TO_PC 0x040 | ||
27 | #define RAM_FROM_PC 0x0170 | ||
28 | #define TYPE_CARD 0x03C0 | ||
29 | #define SERIAL_NUMBER 0x03DA | ||
30 | #define RAM_IT_FROM_PC 0x03FE | ||
31 | #define RAM_IT_TO_PC 0x03FF | ||
32 | |||
33 | struct mailbox{ | ||
34 | u16 stjb_codef; /* offset 00 */ | ||
35 | s16 stjb_status; /* offset 02 */ | ||
36 | u16 stjb_ticuser_root; /* offset 04 */ | ||
37 | u8 stjb_piduser[4]; /* offset 06 */ | ||
38 | u16 stjb_mode; /* offset 0A */ | ||
39 | u16 stjb_time; /* offset 0C */ | ||
40 | u16 stjb_stop; /* offset 0E */ | ||
41 | u16 stjb_nfonc; /* offset 10 */ | ||
42 | u16 stjb_ncard; /* offset 12 */ | ||
43 | u16 stjb_nchan; /* offset 14 */ | ||
44 | u16 stjb_nes; /* offset 16 */ | ||
45 | u16 stjb_nb; /* offset 18 */ | ||
46 | u16 stjb_typvar; /* offset 1A */ | ||
47 | u32 stjb_adr; /* offset 1C */ | ||
48 | u16 stjb_ticuser_dispcyc; /* offset 20 */ | ||
49 | u16 stjb_ticuser_protocol; /* offset 22 */ | ||
50 | u8 stjb_filler[12]; /* offset 24 */ | ||
51 | u8 stjb_data[256]; /* offset 30 */ | ||
52 | }; | ||
53 | |||
54 | struct st_ram_io | ||
55 | { | ||
56 | unsigned char data_to_pc_ready; | ||
57 | unsigned char tic_owner_to_pc; | ||
58 | unsigned char numcard_owner_to_pc; | ||
59 | unsigned char tic_des_to_pc; | ||
60 | unsigned char numcard_des_to_pc; | ||
61 | unsigned char data_from_pc_ready; | ||
62 | unsigned char tic_owner_from_pc; | ||
63 | unsigned char numcard_owner_from_pc; | ||
64 | unsigned char tic_des_from_pc; | ||
65 | unsigned char numcard_des_from_pc; | ||
66 | unsigned char ack_to_pc_ready; | ||
67 | unsigned char tic_ack_to_pc; | ||
68 | unsigned char numcard_ack_to_pc; | ||
69 | unsigned char typ_ack_to_pc; | ||
70 | unsigned char ack_from_pc_ready; | ||
71 | unsigned char tic_ack_from_pc; | ||
72 | unsigned char numcard_ack_from_pc; | ||
73 | unsigned char typ_ack_from_pc; | ||
74 | unsigned char conf_end_test[4]; | ||
75 | unsigned char error_code[2]; | ||
76 | unsigned char parameter_error[4]; | ||
77 | unsigned char time_base; | ||
78 | unsigned char nul_inc; | ||
79 | unsigned char vers; | ||
80 | unsigned char num_card; | ||
81 | unsigned char reserv1[32]; | ||
82 | }; | ||
83 | |||
84 | |||
85 | #endif /* __LINUX_APPLICOM_H__ */ | ||