ftape-vendors.h 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. #ifndef _FTAPE_VENDORS_H
  2. #define _FTAPE_VENDORS_H
  3. /*
  4. * Copyright (C) 1993-1996 Bas Laarhoven,
  5. * (C) 1996-1997 Claus-Justus Heine.
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; see the file COPYING. If not, write to
  16. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  17. *
  18. * $Source: /homes/cvs/ftape-stacked/include/linux/ftape-vendors.h,v $
  19. * $Revision: 1.6 $
  20. * $Date: 1997/10/09 15:38:11 $
  21. *
  22. * This file contains the supported drive types with their
  23. * QIC-117 spec. vendor code and drive dependent configuration
  24. * information.
  25. */
  26. typedef enum {
  27. unknown_wake_up = 0,
  28. no_wake_up,
  29. wake_up_colorado,
  30. wake_up_mountain,
  31. wake_up_insight,
  32. } wake_up_types;
  33. typedef struct {
  34. wake_up_types wake_up; /* see wake_up_types */
  35. char *name; /* Text describing the drive */
  36. } wakeup_method;
  37. /* Note: order of entries in WAKEUP_METHODS must be so that a variable
  38. * of type wake_up_types can be used as an index in the array.
  39. */
  40. #define WAKEUP_METHODS { \
  41. { unknown_wake_up, "Unknown" }, \
  42. { no_wake_up, "None" }, \
  43. { wake_up_colorado, "Colorado" }, \
  44. { wake_up_mountain, "Mountain" }, \
  45. { wake_up_insight, "Motor-on" }, \
  46. }
  47. typedef struct {
  48. unsigned int vendor_id; /* vendor id from drive */
  49. int speed; /* maximum tape transport speed (ips) */
  50. wake_up_types wake_up; /* see wake_up_types */
  51. char *name; /* Text describing the drive */
  52. } vendor_struct;
  53. #define UNKNOWN_VENDOR (-1)
  54. #define QIC117_VENDORS { \
  55. /* see _vendor_struct */ \
  56. { 0x00000, 82, wake_up_colorado, "Colorado DJ-10 (old)" }, \
  57. { 0x00047, 90, wake_up_colorado, "Colorado DJ-10/DJ-20" }, \
  58. { 0x011c2, 84, wake_up_colorado, "Colorado 700" }, \
  59. { 0x011c3, 90, wake_up_colorado, "Colorado 1400" }, \
  60. { 0x011c4, 84, wake_up_colorado, "Colorado DJ-10/DJ-20 (new)" }, \
  61. { 0x011c5, 84, wake_up_colorado, "HP Colorado T1000" }, \
  62. { 0x011c6, 90, wake_up_colorado, "HP Colorado T3000" }, \
  63. { 0x00005, 45, wake_up_mountain, "Archive 5580i" }, \
  64. { 0x10005, 50, wake_up_insight, "Insight 80Mb, Irwin 80SX" }, \
  65. { 0x00140, 74, wake_up_mountain, "Archive S.Hornet [Identity/Escom]" }, \
  66. { 0x00146, 72, wake_up_mountain, "Archive 31250Q [Escom]" }, \
  67. { 0x0014a, 100, wake_up_mountain, "Archive XL9250i [Conner/Escom]" }, \
  68. { 0x0014c, 98, wake_up_mountain, "Conner C250MQT" }, \
  69. { 0x0014e, 80, wake_up_mountain, "Conner C250MQ" }, \
  70. { 0x00150, 80, wake_up_mountain, "Conner TSM420R/TST800R" }, \
  71. { 0x00152, 80, wake_up_mountain, "Conner TSM850R" }, \
  72. { 0x00156, 80, wake_up_mountain, "Conner TSM850R/1700R/TST3200R" }, \
  73. { 0x00180, 0, wake_up_mountain, "Summit SE 150" }, \
  74. { 0x00181, 85, wake_up_mountain, "Summit SE 250, Mountain FS8000" }, \
  75. { 0x001c1, 82, no_wake_up, "Wangtek 3040F" }, \
  76. { 0x001c8, 64, no_wake_up, "Wangtek 3080F" }, \
  77. { 0x001c8, 64, wake_up_colorado, "Wangtek 3080F" }, \
  78. { 0x001ca, 67, no_wake_up, "Wangtek 3080F (new)" }, \
  79. { 0x001cc, 77, wake_up_colorado, "Wangtek 3200 / Teac 700" }, \
  80. { 0x001cd, 75, wake_up_colorado, "Reveal TB1400" }, \
  81. { 0x00380, 85, wake_up_colorado, "Exabyte Eagle-96" }, \
  82. { 0x00381, 85, wake_up_colorado, "Exabyte Eagle TR-3" }, \
  83. { 0x00382, 85, wake_up_colorado, "Exabyte Eagle TR-3" }, \
  84. { 0x003ce, 77, wake_up_colorado, "Teac 800" }, \
  85. { 0x003cf, 0, wake_up_colorado, "Teac FT3010TR" }, \
  86. { 0x08880, 64, no_wake_up, "Iomega 250, Ditto 800" }, \
  87. { 0x08880, 64, wake_up_colorado, "Iomega 250, Ditto 800" }, \
  88. { 0x08880, 64, wake_up_insight, "Iomega 250, Ditto 800" }, \
  89. { 0x08881, 80, wake_up_colorado, "Iomega 700" }, \
  90. { 0x08882, 80, wake_up_colorado, "Iomega 3200" }, \
  91. { 0x08883, 80, wake_up_colorado, "Iomega DITTO 2GB" }, \
  92. { 0x00021, 70, no_wake_up, "AIWA CT-803" }, \
  93. { 0x004c0, 80, no_wake_up, "AIWA TD-S1600" }, \
  94. { 0x00021, 0, wake_up_mountain, "COREtape QIC80" }, \
  95. { 0x00441, 0, wake_up_mountain, "ComByte DoublePlay" }, \
  96. { 0x00481, 127, wake_up_mountain, "PERTEC MyTape 800" }, \
  97. { 0x00483, 130, wake_up_mountain, "PERTEC MyTape 3200" }, \
  98. { UNKNOWN_VENDOR, 0, no_wake_up, "unknown" } \
  99. }
  100. #define QIC117_MAKE_CODES { \
  101. { 0, "Unassigned" }, \
  102. { 1, "Alloy Computer Products" }, \
  103. { 2, "3M" }, \
  104. { 3, "Tandberg Data" }, \
  105. { 4, "Colorado" }, \
  106. { 5, "Archive/Conner" }, \
  107. { 6, "Mountain/Summit Memory Systems" }, \
  108. { 7, "Wangtek/Rexon/Tecmar" }, \
  109. { 8, "Sony" }, \
  110. { 9, "Cipher Data Products" }, \
  111. { 10, "Irwin Magnetic Systems" }, \
  112. { 11, "Braemar" }, \
  113. { 12, "Verbatim" }, \
  114. { 13, "Core International" }, \
  115. { 14, "Exabyte" }, \
  116. { 15, "Teac" }, \
  117. { 16, "Gigatek" }, \
  118. { 17, "ComByte" }, \
  119. { 18, "PERTEC Memories" }, \
  120. { 19, "Aiwa" }, \
  121. { 71, "Colorado" }, \
  122. { 546, "Iomega Inc" }, \
  123. }
  124. #endif /* _FTAPE_VENDORS_H */