cu3088.h 902 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef _CU3088_H
  2. #define _CU3088_H
  3. /**
  4. * Enum for classifying detected devices.
  5. */
  6. enum channel_types {
  7. /* Device is not a channel */
  8. channel_type_none,
  9. /* Device is a CTC/A */
  10. channel_type_parallel,
  11. /* Device is a ESCON channel */
  12. channel_type_escon,
  13. /* Device is a FICON channel */
  14. channel_type_ficon,
  15. /* Device is a P390 LCS card */
  16. channel_type_p390,
  17. /* Device is a OSA2 card */
  18. channel_type_osa2,
  19. /* Device is a CLAW channel device */
  20. channel_type_claw,
  21. /* Device is a channel, but we don't know
  22. * anything about it */
  23. channel_type_unknown,
  24. /* Device is an unsupported model */
  25. channel_type_unsupported,
  26. /* number of type entries */
  27. num_channel_types
  28. };
  29. extern const char *cu3088_type[num_channel_types];
  30. extern int register_cu3088_discipline(struct ccwgroup_driver *);
  31. extern void unregister_cu3088_discipline(struct ccwgroup_driver *);
  32. #endif