diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-30 21:37:12 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-30 21:37:12 -0500 |
commit | 23fd07750a789a66fe88cf173d52a18f1a387da4 (patch) | |
tree | 06fdd6df35fdb835abdaa9b754d62f6b84b97250 /drivers/s390/char/raw3270.h | |
parent | bd787d438a59266af3c9f6351644c85ef1dd21fe (diff) | |
parent | ed28f96ac1960f30f818374d65be71d2fdf811b0 (diff) |
Merge ../linux-2.6 by hand
Diffstat (limited to 'drivers/s390/char/raw3270.h')
-rw-r--r-- | drivers/s390/char/raw3270.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/s390/char/raw3270.h b/drivers/s390/char/raw3270.h index ed5d4eb9f623..b635bf8e7775 100644 --- a/drivers/s390/char/raw3270.h +++ b/drivers/s390/char/raw3270.h | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | /* Local Channel Commands */ | 22 | /* Local Channel Commands */ |
23 | #define TC_WRITE 0x01 /* Write */ | 23 | #define TC_WRITE 0x01 /* Write */ |
24 | #define TC_RDBUF 0x02 /* Read Buffer */ | ||
24 | #define TC_EWRITE 0x05 /* Erase write */ | 25 | #define TC_EWRITE 0x05 /* Erase write */ |
25 | #define TC_READMOD 0x06 /* Read modified */ | 26 | #define TC_READMOD 0x06 /* Read modified */ |
26 | #define TC_EWRITEA 0x0d /* Erase write alternate */ | 27 | #define TC_EWRITEA 0x0d /* Erase write alternate */ |
@@ -76,7 +77,8 @@ | |||
76 | #define TW_KR 0xc2 /* Keyboard restore */ | 77 | #define TW_KR 0xc2 /* Keyboard restore */ |
77 | #define TW_PLUSALARM 0x04 /* Add this bit for alarm */ | 78 | #define TW_PLUSALARM 0x04 /* Add this bit for alarm */ |
78 | 79 | ||
79 | #define RAW3270_MAXDEVS 256 | 80 | #define RAW3270_FIRSTMINOR 1 /* First minor number */ |
81 | #define RAW3270_MAXDEVS 255 /* Max number of 3270 devices */ | ||
80 | 82 | ||
81 | /* For TUBGETMOD and TUBSETMOD. Should include. */ | 83 | /* For TUBGETMOD and TUBSETMOD. Should include. */ |
82 | struct raw3270_iocb { | 84 | struct raw3270_iocb { |
@@ -166,7 +168,10 @@ void raw3270_del_view(struct raw3270_view *); | |||
166 | void raw3270_deactivate_view(struct raw3270_view *); | 168 | void raw3270_deactivate_view(struct raw3270_view *); |
167 | struct raw3270_view *raw3270_find_view(struct raw3270_fn *, int); | 169 | struct raw3270_view *raw3270_find_view(struct raw3270_fn *, int); |
168 | int raw3270_start(struct raw3270_view *, struct raw3270_request *); | 170 | int raw3270_start(struct raw3270_view *, struct raw3270_request *); |
171 | int raw3270_start_locked(struct raw3270_view *, struct raw3270_request *); | ||
169 | int raw3270_start_irq(struct raw3270_view *, struct raw3270_request *); | 172 | int raw3270_start_irq(struct raw3270_view *, struct raw3270_request *); |
173 | int raw3270_reset(struct raw3270_view *); | ||
174 | struct raw3270_view *raw3270_view(struct raw3270_view *); | ||
170 | 175 | ||
171 | /* Reference count inliner for view structures. */ | 176 | /* Reference count inliner for view structures. */ |
172 | static inline void | 177 | static inline void |