OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [drivers/] [char/] [ftape/] [vendors.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.