cu3088.h 848 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 OSA2 card */
  16. channel_type_osa2,
  17. /* Device is a CLAW channel device */
  18. channel_type_claw,
  19. /* Device is a channel, but we don't know
  20. * anything about it */
  21. channel_type_unknown,
  22. /* Device is an unsupported model */
  23. channel_type_unsupported,
  24. /* number of type entries */
  25. num_channel_types
  26. };
  27. extern const char *cu3088_type[num_channel_types];
  28. extern int register_cu3088_discipline(struct ccwgroup_driver *);
  29. extern void unregister_cu3088_discipline(struct ccwgroup_driver *);
  30. #endif