| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _CU3088_H | 
|  | 2 | #define _CU3088_H | 
|  | 3 |  | 
|  | 4 | /** | 
|  | 5 | * Enum for classifying detected devices. | 
|  | 6 | */ | 
|  | 7 | enum channel_types { | 
|  | 8 | /* Device is not a channel  */ | 
|  | 9 | channel_type_none, | 
|  | 10 |  | 
|  | 11 | /* Device is a CTC/A */ | 
|  | 12 | channel_type_parallel, | 
|  | 13 |  | 
|  | 14 | /* Device is a ESCON channel */ | 
|  | 15 | channel_type_escon, | 
|  | 16 |  | 
|  | 17 | /* Device is a FICON channel */ | 
|  | 18 | channel_type_ficon, | 
|  | 19 |  | 
|  | 20 | /* Device is a P390 LCS card */ | 
|  | 21 | channel_type_p390, | 
|  | 22 |  | 
|  | 23 | /* Device is a OSA2 card */ | 
|  | 24 | channel_type_osa2, | 
|  | 25 |  | 
| Frank Pavlic | 321de3c | 2005-05-12 20:17:46 +0200 | [diff] [blame] | 26 | /* Device is a CLAW channel device */ | 
|  | 27 | channel_type_claw, | 
|  | 28 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | /* Device is a channel, but we don't know | 
|  | 30 | * anything about it */ | 
|  | 31 | channel_type_unknown, | 
|  | 32 |  | 
|  | 33 | /* Device is an unsupported model */ | 
|  | 34 | channel_type_unsupported, | 
|  | 35 |  | 
|  | 36 | /* number of type entries */ | 
|  | 37 | num_channel_types | 
|  | 38 | }; | 
|  | 39 |  | 
|  | 40 | extern const char *cu3088_type[num_channel_types]; | 
|  | 41 | extern int register_cu3088_discipline(struct ccwgroup_driver *); | 
|  | 42 | extern void unregister_cu3088_discipline(struct ccwgroup_driver *); | 
|  | 43 |  | 
|  | 44 | #endif |