lasat_models.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*
  2. * Model description tables
  3. */
  4. #include <linux/kernel.h>
  5. struct product_info {
  6. const char *pi_name;
  7. const char *pi_type;
  8. };
  9. struct vendor_info {
  10. const char *vi_name;
  11. const struct product_info *vi_product_info;
  12. };
  13. /*
  14. * Base models
  15. */
  16. static const char * const txt_base_models[] = {
  17. "MQ 2", "MQ Pro", "SP 25", "SP 50", "SP 100", "SP 5000", "SP 7000",
  18. "SP 1000", "Unknown"
  19. };
  20. #define N_BASE_MODELS (ARRAY_SIZE(txt_base_models) - 1)
  21. /*
  22. * Eicon Networks
  23. */
  24. static const char txt_en_mq[] = "Masquerade";
  25. static const char txt_en_sp[] = "Safepipe";
  26. static const struct product_info product_info_eicon[] = {
  27. { txt_en_mq, "II" }, /* 0 */
  28. { txt_en_mq, "Pro" }, /* 1 */
  29. { txt_en_sp, "25" }, /* 2 */
  30. { txt_en_sp, "50" }, /* 3 */
  31. { txt_en_sp, "100" }, /* 4 */
  32. { txt_en_sp, "5000" }, /* 5 */
  33. { txt_en_sp, "7000" }, /* 6 */
  34. { txt_en_sp, "30" }, /* 7 */
  35. { txt_en_sp, "5100" }, /* 8 */
  36. { txt_en_sp, "7100" }, /* 9 */
  37. { txt_en_sp, "1110" }, /* 10 */
  38. { txt_en_sp, "3020" }, /* 11 */
  39. { txt_en_sp, "3030" }, /* 12 */
  40. { txt_en_sp, "5020" }, /* 13 */
  41. { txt_en_sp, "5030" }, /* 14 */
  42. { txt_en_sp, "1120" }, /* 15 */
  43. { txt_en_sp, "1130" }, /* 16 */
  44. { txt_en_sp, "6010" }, /* 17 */
  45. { txt_en_sp, "6110" }, /* 18 */
  46. { txt_en_sp, "6210" }, /* 19 */
  47. { txt_en_sp, "1020" }, /* 20 */
  48. { txt_en_sp, "1040" }, /* 21 */
  49. { txt_en_sp, "1050" }, /* 22 */
  50. { txt_en_sp, "1060" }, /* 23 */
  51. };
  52. #define N_PRIDS ARRAY_SIZE(product_info_eicon)
  53. /*
  54. * The vendor table
  55. */
  56. static struct vendor_info const vendor_info_table[] = {
  57. { "Eicon Networks", product_info_eicon },
  58. };
  59. #define N_VENDORS ARRAY_SIZE(vendor_info_table)