Home
last modified time | relevance | path

Searched refs:idstr (Results 1 – 7 of 7) sorted by relevance

/original-bsd/sys/luna68k/stand/
H A Dsd.c77 char idstr[32]; local
123 bcopy((caddr_t)&inqbuf.vendor_id, (caddr_t)idstr, 28);
125 if (idstr[i] != ' ')
127 idstr[i+1] = 0;
129 if (idstr[i] != ' ')
131 idstr[i+1] = 0;
133 if (idstr[i] != ' ')
135 idstr[i+1] = 0;
136 printf("sd%d: %s %s rev %s", hd->hp_unit, idstr, &idstr[8],
137 &idstr[24]);
H A Dst.c108 char idstr[32]; local
138 bcopy((caddr_t)&inqbuf.vendor_id, (caddr_t)idstr, 28);
140 if (idstr[i] != ' ')
142 idstr[i+1] = 0;
144 if (idstr[i] != ' ')
146 idstr[i+1] = 0;
148 if (idstr[i] != ' ')
150 idstr[i+1] = 0;
151 printf("st%d: %s %s rev %s\n", hd->hp_unit, idstr, &idstr[8],
152 &idstr[24]);
/original-bsd/sys/hp300/dev/
H A Dac.c95 char idstr[32]; local
137 bcopy((caddr_t)&inqbuf.vendor_id, (caddr_t)idstr, 28);
139 if (idstr[i] != ' ')
141 idstr[i+1] = 0;
143 if (idstr[i] != ' ')
145 idstr[i+1] = 0;
147 if (idstr[i] != ' ')
149 idstr[i+1] = 0;
151 &idstr[0], &idstr[8], &idstr[24]);
H A Dst.c226 char idstr[32]; local
282 if (idstr[i] != ' ')
284 idstr[i+1] = 0;
286 if (idstr[i] != ' ')
288 idstr[i+1] = 0;
290 if (idstr[i] != ' ')
292 idstr[i+1] = 0;
293 printf("st%d: %s, %s rev %s\n", hd->hp_unit, idstr, &idstr[8],
294 &idstr[24]);
297 idstr[0] = idstr[8] = '\0';
[all …]
H A Dsd.c123 char idstr[32]; local
191 if (idstr[i] != ' ')
193 idstr[i+1] = 0;
195 if (idstr[i] != ' ')
197 idstr[i+1] = 0;
199 if (idstr[i] != ' ')
201 idstr[i+1] = 0;
204 bcopy("UNKNOWN", &idstr[0], 8);
205 bcopy("DRIVE TYPE", &idstr[8], 11);
216 printf("sd%d: %s %s rev %s", hd->hp_unit, idstr, &idstr[8],
[all …]
/original-bsd/sys/luna68k/dev/
H A Dst.c133 char idstr[32]; local
161 bcopy((caddr_t)&inqbuf.vendor_id, (caddr_t)idstr, 28);
163 if (idstr[i] != ' ')
165 idstr[i+1] = 0;
167 if (idstr[i] != ' ')
169 idstr[i+1] = 0;
171 if (idstr[i] != ' ')
173 idstr[i+1] = 0;
174 printf("st%d: %s %s rev %s\n", hd->hp_unit, idstr, &idstr[8],
175 &idstr[24]);
H A Dsd.c153 char idstr[32]; local
199 bcopy((caddr_t)&inqbuf.vendor_id, (caddr_t)idstr, 28);
201 if (idstr[i] != ' ')
203 idstr[i+1] = 0;
205 if (idstr[i] != ' ')
207 idstr[i+1] = 0;
209 if (idstr[i] != ' ')
211 idstr[i+1] = 0;
212 printf("sd%d: %s %s rev %s", hd->hp_unit, idstr, &idstr[8],
213 &idstr[24]);