~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to drivers/staging/tty/digiFep1.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno
  • Date: 2011-06-07 12:14:05 UTC
  • mfrom: (43.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20110607121405-i3h1rd7nrnd2b73h
Tags: 2.6.39-2
[ Ben Hutchings ]
* [x86] Enable BACKLIGHT_APPLE, replacing BACKLIGHT_MBP_NVIDIA
  (Closes: #627492)
* cgroups: Disable memory resource controller by default. Allow it
  to be enabled using kernel parameter 'cgroup_enable=memory'.
* rt2800usb: Enable support for more USB devices including
  Linksys WUSB600N (Closes: #596626) (this change was accidentally
  omitted from 2.6.39-1)
* [x86] Remove Celeron from list of processors supporting PAE. Most
  'Celeron M' models do not.
* Update debconf template translations:
  - Swedish (Martin Bagge) (Closes: #628932)
  - French (David Prévot) (Closes: #628191)
* aufs: Update for 2.6.39 (Closes: #627837)
* Add stable 2.6.39.1, including:
  - ext4: dont set PageUptodate in ext4_end_bio()
  - pata_cmd64x: fix boot crash on parisc (Closes: #622997, #622745)
  - ext3: Fix fs corruption when make_indexed_dir() fails
  - netfilter: nf_ct_sip: validate Content-Length in TCP SIP messages
  - sctp: fix race between sctp_bind_addr_free() and
    sctp_bind_addr_conflict()
  - sctp: fix memory leak of the ASCONF queue when free asoc
  - md/bitmap: fix saving of events_cleared and other state
  - cdc_acm: Fix oops when Droids MuIn LCD is connected
  - cx88: Fix conversion from BKL to fine-grained locks (Closes: #619827)
  - keys: Set cred->user_ns in key_replace_session_keyring (CVE-2011-2184)
  - tmpfs: fix race between truncate and writepage
  - nfs41: Correct offset for LAYOUTCOMMIT
  - xen/mmu: fix a race window causing leave_mm BUG()
  - ext4: fix possible use-after-free in ext4_remove_li_request()
  For the complete list of changes, see:
   http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39.1
* Bump ABI to 2
* netfilter: Enable IP_SET, IP_SET_BITMAP_IP, IP_SET_BITMAP_IPMAC,
  IP_SET_BITMAP_PORT, IP_SET_HASH_IP, IP_SET_HASH_IPPORT,
  IP_SET_HASH_IPPORTIP, IP_SET_HASH_IPPORTNET, IP_SET_HASH_NET,
  IP_SET_HASH_NETPORT, IP_SET_LIST_SET, NETFILTER_XT_SET as modules
  (Closes: #629401)

[ Aurelien Jarno ]
* [mipsel/loongson-2f] Disable_SCSI_LPFC to workaround GCC ICE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#define CSTART       0x400L
 
3
#define CMAX         0x800L
 
4
#define ISTART       0x800L
 
5
#define IMAX         0xC00L
 
6
#define CIN          0xD10L
 
7
#define GLOBAL       0xD10L
 
8
#define EIN          0xD18L
 
9
#define FEPSTAT      0xD20L
 
10
#define CHANSTRUCT   0x1000L
 
11
#define RXTXBUF      0x4000L
 
12
 
 
13
 
 
14
struct global_data 
 
15
{
 
16
        u16 cin;
 
17
        u16 cout;
 
18
        u16 cstart;
 
19
        u16 cmax;
 
20
        u16 ein;
 
21
        u16 eout;
 
22
        u16 istart;
 
23
        u16 imax;
 
24
};
 
25
 
 
26
 
 
27
struct board_chan 
 
28
{
 
29
        u32 filler1;
 
30
        u32 filler2;
 
31
        u16 tseg;
 
32
        u16 tin;
 
33
        u16 tout;
 
34
        u16 tmax;
 
35
 
 
36
        u16 rseg;
 
37
        u16 rin;
 
38
        u16 rout;
 
39
        u16 rmax;
 
40
 
 
41
        u16 tlow;
 
42
        u16 rlow;
 
43
        u16 rhigh;
 
44
        u16 incr;
 
45
 
 
46
        u16 etime;
 
47
        u16 edelay;
 
48
        unchar *dev;
 
49
 
 
50
        u16 iflag;
 
51
        u16 oflag;
 
52
        u16 cflag;
 
53
        u16 gmask;
 
54
 
 
55
        u16 col;
 
56
        u16 delay;
 
57
        u16 imask;
 
58
        u16 tflush;
 
59
 
 
60
        u32 filler3;
 
61
        u32 filler4;
 
62
        u32 filler5;
 
63
        u32 filler6;
 
64
 
 
65
        u8 num;
 
66
        u8 ract;
 
67
        u8 bstat;
 
68
        u8 tbusy;
 
69
        u8 iempty;
 
70
        u8 ilow;
 
71
        u8 idata;
 
72
        u8 eflag;
 
73
 
 
74
        u8 tflag;
 
75
        u8 rflag;
 
76
        u8 xmask;
 
77
        u8 xval;
 
78
        u8 mstat;
 
79
        u8 mchange;
 
80
        u8 mint;
 
81
        u8 lstat;
 
82
 
 
83
        u8 mtran;
 
84
        u8 orun;
 
85
        u8 startca;
 
86
        u8 stopca;
 
87
        u8 startc;
 
88
        u8 stopc;
 
89
        u8 vnext;
 
90
        u8 hflow;
 
91
 
 
92
        u8 fillc;
 
93
        u8 ochar;
 
94
        u8 omask;
 
95
 
 
96
        u8 filler7;
 
97
        u8 filler8[28];
 
98
}; 
 
99
 
 
100
 
 
101
#define SRXLWATER      0xE0
 
102
#define SRXHWATER      0xE1
 
103
#define STOUT          0xE2
 
104
#define PAUSETX        0xE3
 
105
#define RESUMETX       0xE4
 
106
#define SAUXONOFFC     0xE6
 
107
#define SENDBREAK      0xE8
 
108
#define SETMODEM       0xE9
 
109
#define SETIFLAGS      0xEA
 
110
#define SONOFFC        0xEB
 
111
#define STXLWATER      0xEC
 
112
#define PAUSERX        0xEE
 
113
#define RESUMERX       0xEF
 
114
#define SETBUFFER      0xF2
 
115
#define SETCOOKED      0xF3
 
116
#define SETHFLOW       0xF4
 
117
#define SETCTRLFLAGS   0xF5
 
118
#define SETVNEXT       0xF6
 
119
 
 
120
 
 
121
 
 
122
#define BREAK_IND        0x01
 
123
#define LOWTX_IND        0x02
 
124
#define EMPTYTX_IND      0x04
 
125
#define DATA_IND         0x08
 
126
#define MODEMCHG_IND     0x20
 
127
 
 
128
#define FEP_HUPCL  0002000
 
129
#if 0
 
130
#define RTS   0x02
 
131
#define CD    0x08
 
132
#define DSR   0x10
 
133
#define CTS   0x20
 
134
#define RI    0x40
 
135
#define DTR   0x80
 
136
#endif