wdc_pcmcia.c revision 1.86 1 1.86 mycroft /* $NetBSD: wdc_pcmcia.c,v 1.86 2004/08/11 18:41:46 mycroft Exp $ */
2 1.1 matt
3 1.8 mycroft /*-
4 1.78 mycroft * Copyright (c) 1998, 2003, 2004 The NetBSD Foundation, Inc.
5 1.8 mycroft * All rights reserved.
6 1.1 matt *
7 1.8 mycroft * This code is derived from software contributed to The NetBSD Foundation
8 1.8 mycroft * by Charles M. Hannum, by Onno van der Linden and by Manuel Bouyer.
9 1.1 matt *
10 1.1 matt * Redistribution and use in source and binary forms, with or without
11 1.1 matt * modification, are permitted provided that the following conditions
12 1.1 matt * are met:
13 1.1 matt * 1. Redistributions of source code must retain the above copyright
14 1.1 matt * notice, this list of conditions and the following disclaimer.
15 1.1 matt * 2. Redistributions in binary form must reproduce the above copyright
16 1.1 matt * notice, this list of conditions and the following disclaimer in the
17 1.1 matt * documentation and/or other materials provided with the distribution.
18 1.1 matt * 3. All advertising materials mentioning features or use of this software
19 1.1 matt * must display the following acknowledgement:
20 1.8 mycroft * This product includes software developed by the NetBSD
21 1.8 mycroft * Foundation, Inc. and its contributors.
22 1.8 mycroft * 4. Neither the name of The NetBSD Foundation nor the names of its
23 1.8 mycroft * contributors may be used to endorse or promote products derived
24 1.8 mycroft * from this software without specific prior written permission.
25 1.1 matt *
26 1.8 mycroft * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
27 1.8 mycroft * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
28 1.8 mycroft * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
29 1.8 mycroft * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
30 1.8 mycroft * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 1.8 mycroft * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 1.8 mycroft * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 1.8 mycroft * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 1.8 mycroft * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 1.8 mycroft * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 1.8 mycroft * POSSIBILITY OF SUCH DAMAGE.
37 1.1 matt */
38 1.44 lukem
39 1.44 lukem #include <sys/cdefs.h>
40 1.86 mycroft __KERNEL_RCSID(0, "$NetBSD: wdc_pcmcia.c,v 1.86 2004/08/11 18:41:46 mycroft Exp $");
41 1.1 matt
42 1.1 matt #include <sys/param.h>
43 1.30 enami #include <sys/device.h>
44 1.30 enami #include <sys/malloc.h>
45 1.1 matt #include <sys/systm.h>
46 1.1 matt
47 1.30 enami #include <machine/bus.h>
48 1.1 matt #include <machine/intr.h>
49 1.1 matt
50 1.14 enami #include <dev/pcmcia/pcmciareg.h>
51 1.1 matt #include <dev/pcmcia/pcmciavar.h>
52 1.9 kenh #include <dev/pcmcia/pcmciadevs.h>
53 1.9 kenh
54 1.64 fvdl #include <dev/ic/wdcreg.h>
55 1.12 bouyer #include <dev/ata/atavar.h>
56 1.1 matt #include <dev/ic/wdcvar.h>
57 1.1 matt
58 1.1 matt #define WDC_PCMCIA_REG_NPORTS 8
59 1.9 kenh #define WDC_PCMCIA_AUXREG_OFFSET (WDC_PCMCIA_REG_NPORTS + 6)
60 1.2 mycroft #define WDC_PCMCIA_AUXREG_NPORTS 2
61 1.1 matt
62 1.1 matt struct wdc_pcmcia_softc {
63 1.1 matt struct wdc_softc sc_wdcdev;
64 1.66 thorpej struct wdc_channel *wdc_chanlist[1];
65 1.66 thorpej struct wdc_channel wdc_channel;
66 1.65 thorpej struct ata_queue wdc_chqueue;
67 1.84 mycroft
68 1.84 mycroft struct pcmcia_function *sc_pf;
69 1.1 matt void *sc_ih;
70 1.75 mycroft
71 1.75 mycroft int sc_state;
72 1.75 mycroft #define WDC_PCMCIA_ATTACHED 3
73 1.1 matt };
74 1.1 matt
75 1.1 matt static int wdc_pcmcia_match __P((struct device *, struct cfdata *, void *));
76 1.72 mycroft static int wdc_pcmcia_validate_config __P((struct pcmcia_config_entry *));
77 1.1 matt static void wdc_pcmcia_attach __P((struct device *, struct device *, void *));
78 1.21 enami static int wdc_pcmcia_detach __P((struct device *, int));
79 1.1 matt
80 1.51 thorpej CFATTACH_DECL(wdc_pcmcia, sizeof(struct wdc_pcmcia_softc),
81 1.52 thorpej wdc_pcmcia_match, wdc_pcmcia_attach, wdc_pcmcia_detach, wdcactivate);
82 1.1 matt
83 1.81 mycroft const struct pcmcia_product wdc_pcmcia_products[] = {
84 1.74 mycroft { PCMCIA_VENDOR_DIGITAL,
85 1.9 kenh PCMCIA_PRODUCT_DIGITAL_MOBILE_MEDIA_CDROM,
86 1.73 mycroft {NULL, "Digital Mobile Media CD-ROM", NULL, NULL} },
87 1.19 abs
88 1.19 abs { PCMCIA_VENDOR_IBM,
89 1.24 soren PCMCIA_PRODUCT_IBM_PORTABLE_CDROM,
90 1.73 mycroft {NULL, "PCMCIA Portable CD-ROM Drive", NULL, NULL} },
91 1.9 kenh
92 1.9 kenh /* The TEAC IDE/Card II is used on the Sony Vaio */
93 1.9 kenh { PCMCIA_VENDOR_TEAC,
94 1.9 kenh PCMCIA_PRODUCT_TEAC_IDECARDII,
95 1.69 mycroft PCMCIA_CIS_TEAC_IDECARDII },
96 1.43 christos
97 1.43 christos /*
98 1.43 christos * A fujitsu rebranded panasonic drive that reports
99 1.43 christos * itself as function "scsi", disk interface 0
100 1.43 christos */
101 1.43 christos { PCMCIA_VENDOR_PANASONIC,
102 1.43 christos PCMCIA_PRODUCT_PANASONIC_KXLC005,
103 1.69 mycroft PCMCIA_CIS_PANASONIC_KXLC005 },
104 1.26 augustss
105 1.27 enami /*
106 1.27 enami * EXP IDE/ATAPI DVD Card use with some DVD players.
107 1.27 enami * Does not have a vendor ID or product ID.
108 1.27 enami */
109 1.81 mycroft { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
110 1.69 mycroft PCMCIA_CIS_EXP_EXPMULTIMEDIA },
111 1.23 takemura
112 1.36 abs /* Mobile Dock 2, neither vendor ID nor product ID */
113 1.81 mycroft { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
114 1.69 mycroft {"SHUTTLE TECHNOLOGY LTD.", "PCCARD-IDE/ATAPI Adapter", NULL, NULL} },
115 1.34 abs
116 1.36 abs /* Toshiba Portege 3110 CD, neither vendor ID nor product ID */
117 1.81 mycroft { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
118 1.69 mycroft {"FREECOM", "PCCARD-IDE", NULL, NULL} },
119 1.36 abs
120 1.36 abs /* Random CD-ROM, (badged AMACOM), neither vendor ID nor product ID */
121 1.81 mycroft { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
122 1.69 mycroft {"PCMCIA", "CD-ROM", NULL, NULL} },
123 1.37 haya
124 1.37 haya /* IO DATA CBIDE2, with neither vendor ID nor product ID */
125 1.81 mycroft { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
126 1.69 mycroft PCMCIA_CIS_IODATA_CBIDE2 },
127 1.54 ichiro
128 1.54 ichiro /* TOSHIBA PA2673U(IODATA_CBIDE2 OEM), */
129 1.54 ichiro /* with neither vendor ID nor product ID */
130 1.81 mycroft { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
131 1.69 mycroft PCMCIA_CIS_TOSHIBA_CBIDE2 },
132 1.38 sato
133 1.38 sato /*
134 1.38 sato * Novac PCMCIA-IDE Card for HD530P IDE Box,
135 1.38 sato * with neither vendor ID nor product ID
136 1.38 sato */
137 1.81 mycroft { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
138 1.69 mycroft {"PCMCIA", "PnPIDE", NULL, NULL} },
139 1.9 kenh };
140 1.81 mycroft const size_t wdc_pcmcia_nproducts =
141 1.81 mycroft sizeof(wdc_pcmcia_products) / sizeof(wdc_pcmcia_products[0]);
142 1.9 kenh
143 1.42 bouyer int wdc_pcmcia_enable __P((struct device *, int));
144 1.86 mycroft void wdc_pcmcia_datain_memory __P((struct wdc_channel *, int, void *,
145 1.86 mycroft size_t));
146 1.86 mycroft void wdc_pcmcia_dataout_memory __P((struct wdc_channel *, int, void *,
147 1.86 mycroft size_t));
148 1.14 enami
149 1.1 matt static int
150 1.2 mycroft wdc_pcmcia_match(parent, match, aux)
151 1.2 mycroft struct device *parent;
152 1.2 mycroft struct cfdata *match;
153 1.2 mycroft void *aux;
154 1.1 matt {
155 1.1 matt struct pcmcia_attach_args *pa = aux;
156 1.35 haya
157 1.35 haya if (pa->pf->function == PCMCIA_FUNCTION_DISK &&
158 1.81 mycroft pa->pf->pf_funce_disk_interface == PCMCIA_TPLFE_DDI_PCCARD_ATA)
159 1.9 kenh return (1);
160 1.81 mycroft if (pcmcia_product_lookup(pa, wdc_pcmcia_products, wdc_pcmcia_nproducts,
161 1.81 mycroft sizeof(wdc_pcmcia_products[0]), NULL))
162 1.81 mycroft return (2);
163 1.9 kenh return (0);
164 1.1 matt }
165 1.1 matt
166 1.72 mycroft static int
167 1.72 mycroft wdc_pcmcia_validate_config(cfe)
168 1.72 mycroft struct pcmcia_config_entry *cfe;
169 1.72 mycroft {
170 1.85 mycroft /*
171 1.85 mycroft * NOTE: We can't use pure memory card mode, because we wouldn't get
172 1.85 mycroft * any interrupts.
173 1.85 mycroft */
174 1.72 mycroft switch (cfe->iftype) {
175 1.72 mycroft case PCMCIA_IFTYPE_IO:
176 1.85 mycroft if (cfe->num_iospace < 1 || cfe->num_iospace > 2 ||
177 1.85 mycroft cfe->num_memspace > 1)
178 1.72 mycroft return (EINVAL);
179 1.72 mycroft break;
180 1.72 mycroft default:
181 1.72 mycroft return (EINVAL);
182 1.72 mycroft }
183 1.72 mycroft return (0);
184 1.72 mycroft }
185 1.72 mycroft
186 1.1 matt static void
187 1.2 mycroft wdc_pcmcia_attach(parent, self, aux)
188 1.2 mycroft struct device *parent;
189 1.2 mycroft struct device *self;
190 1.2 mycroft void *aux;
191 1.1 matt {
192 1.1 matt struct wdc_pcmcia_softc *sc = (void *)self;
193 1.1 matt struct pcmcia_attach_args *pa = aux;
194 1.5 enami struct pcmcia_config_entry *cfe;
195 1.72 mycroft bus_size_t offset;
196 1.73 mycroft int i;
197 1.72 mycroft int error;
198 1.1 matt
199 1.15 thorpej sc->sc_pf = pa->pf;
200 1.15 thorpej
201 1.72 mycroft /*XXXmem16|common*/
202 1.72 mycroft error = pcmcia_function_configure(pa->pf, wdc_pcmcia_validate_config);
203 1.72 mycroft if (error) {
204 1.72 mycroft aprint_error("%s: configure failed, error=%d\n", self->dv_xname,
205 1.72 mycroft error);
206 1.72 mycroft return;
207 1.1 matt }
208 1.1 matt
209 1.72 mycroft cfe = pa->pf->cfe;
210 1.72 mycroft sc->sc_wdcdev.cap |= WDC_CAPABILITY_DATA16;
211 1.85 mycroft sc->sc_wdcdev.cap |= WDC_CAPABILITY_DATA32;
212 1.41 uch
213 1.85 mycroft sc->wdc_channel.cmd_iot = cfe->iospace[0].handle.iot;
214 1.85 mycroft sc->wdc_channel.cmd_baseioh = cfe->iospace[0].handle.ioh;
215 1.85 mycroft offset = 0;
216 1.85 mycroft
217 1.85 mycroft if (cfe->num_iospace == 1) {
218 1.85 mycroft sc->wdc_channel.ctl_iot = cfe->iospace[0].handle.iot;
219 1.85 mycroft if (bus_space_subregion(cfe->iospace[0].handle.iot,
220 1.85 mycroft cfe->iospace[0].handle.ioh,
221 1.85 mycroft WDC_PCMCIA_AUXREG_OFFSET, WDC_PCMCIA_AUXREG_NPORTS,
222 1.84 mycroft &sc->wdc_channel.ctl_ioh))
223 1.72 mycroft goto fail;
224 1.41 uch } else {
225 1.85 mycroft sc->wdc_channel.ctl_iot = cfe->iospace[1].handle.iot;
226 1.85 mycroft sc->wdc_channel.ctl_ioh = cfe->iospace[1].handle.ioh;
227 1.25 sommerfe }
228 1.5 enami
229 1.64 fvdl for (i = 0; i < WDC_PCMCIA_REG_NPORTS; i++) {
230 1.64 fvdl if (bus_space_subregion(sc->wdc_channel.cmd_iot,
231 1.64 fvdl sc->wdc_channel.cmd_baseioh,
232 1.64 fvdl offset + i, i == 0 ? 4 : 1,
233 1.64 fvdl &sc->wdc_channel.cmd_iohs[i]) != 0) {
234 1.69 mycroft aprint_error("%s: can't subregion I/O space\n",
235 1.69 mycroft self->dv_xname);
236 1.72 mycroft goto fail2;
237 1.64 fvdl }
238 1.64 fvdl }
239 1.85 mycroft
240 1.85 mycroft if (cfe->num_memspace == 1) {
241 1.85 mycroft sc->wdc_channel.data32iot = cfe->memspace[0].handle.memt;
242 1.85 mycroft if (bus_space_subregion(cfe->memspace[0].handle.memt,
243 1.85 mycroft cfe->memspace[0].handle.memh,
244 1.85 mycroft cfe->memspace[0].offset + 1024, 1024,
245 1.85 mycroft &sc->wdc_channel.data32ioh))
246 1.85 mycroft goto fail;
247 1.85 mycroft aprint_normal("%s: memory mapped mode\n", self->dv_xname);
248 1.86 mycroft #if 0
249 1.86 mycroft sc->wdc_channel.datain_pio = wdc_pcmcia_datain_memory;
250 1.86 mycroft sc->wdc_channel.dataout_pio = wdc_pcmcia_dataout_memory;
251 1.86 mycroft #endif
252 1.85 mycroft } else {
253 1.85 mycroft sc->wdc_channel.data32iot = sc->wdc_channel.cmd_iot;
254 1.85 mycroft sc->wdc_channel.data32ioh = sc->wdc_channel.cmd_iohs[wd_data];
255 1.85 mycroft aprint_normal("%s: i/o mapped mode\n", self->dv_xname);
256 1.85 mycroft }
257 1.85 mycroft
258 1.85 mycroft error = wdc_pcmcia_enable(self, 1);
259 1.85 mycroft if (error)
260 1.85 mycroft goto fail;
261 1.85 mycroft
262 1.68 thorpej wdc_init_shadow_regs(&sc->wdc_channel);
263 1.18 bouyer sc->sc_wdcdev.PIO_cap = 0;
264 1.53 matt sc->wdc_chanlist[0] = &sc->wdc_channel;
265 1.53 matt sc->sc_wdcdev.channels = sc->wdc_chanlist;
266 1.12 bouyer sc->sc_wdcdev.nchannels = 1;
267 1.67 thorpej sc->wdc_channel.ch_channel = 0;
268 1.67 thorpej sc->wdc_channel.ch_wdc = &sc->sc_wdcdev;
269 1.53 matt sc->wdc_channel.ch_queue = &sc->wdc_chqueue;
270 1.15 thorpej
271 1.15 thorpej /* We can enable and disable the controller. */
272 1.42 bouyer sc->sc_wdcdev.sc_atapi_adapter._generic.adapt_enable =
273 1.32 bouyer wdc_pcmcia_enable;
274 1.83 mycroft sc->sc_wdcdev.sc_atapi_adapter._generic.adapt_refcnt = 1;
275 1.15 thorpej
276 1.60 bouyer wdcattach(&sc->wdc_channel);
277 1.83 mycroft wdc_delref(&sc->wdc_channel);
278 1.75 mycroft sc->sc_state = WDC_PCMCIA_ATTACHED;
279 1.29 enami return;
280 1.29 enami
281 1.72 mycroft fail2:
282 1.72 mycroft wdc_pcmcia_enable(self, 0);
283 1.72 mycroft fail:
284 1.72 mycroft pcmcia_function_unconfigure(pa->pf);
285 1.21 enami }
286 1.21 enami
287 1.21 enami int
288 1.21 enami wdc_pcmcia_detach(self, flags)
289 1.21 enami struct device *self;
290 1.21 enami int flags;
291 1.21 enami {
292 1.21 enami struct wdc_pcmcia_softc *sc = (struct wdc_pcmcia_softc *)self;
293 1.21 enami int error;
294 1.29 enami
295 1.75 mycroft if (sc->sc_state != WDC_PCMCIA_ATTACHED)
296 1.29 enami return (0);
297 1.21 enami
298 1.21 enami if ((error = wdcdetach(self, flags)) != 0)
299 1.21 enami return (error);
300 1.21 enami
301 1.72 mycroft pcmcia_function_unconfigure(sc->sc_pf);
302 1.61 briggs
303 1.21 enami return (0);
304 1.15 thorpej }
305 1.15 thorpej
306 1.15 thorpej int
307 1.42 bouyer wdc_pcmcia_enable(self, onoff)
308 1.42 bouyer struct device *self;
309 1.15 thorpej int onoff;
310 1.15 thorpej {
311 1.42 bouyer struct wdc_pcmcia_softc *sc = (void *)self;
312 1.79 mycroft int error;
313 1.15 thorpej
314 1.15 thorpej if (onoff) {
315 1.83 mycroft /* Establish the interrupt handler. */
316 1.83 mycroft sc->sc_ih = pcmcia_intr_establish(sc->sc_pf, IPL_BIO,
317 1.83 mycroft wdcintr, &sc->wdc_channel);
318 1.83 mycroft if (!sc->sc_ih)
319 1.83 mycroft return (EIO);
320 1.83 mycroft
321 1.83 mycroft error = pcmcia_function_enable(sc->sc_pf);
322 1.83 mycroft if (error) {
323 1.83 mycroft pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih);
324 1.83 mycroft sc->sc_ih = 0;
325 1.83 mycroft return (error);
326 1.15 thorpej }
327 1.15 thorpej } else {
328 1.15 thorpej pcmcia_function_disable(sc->sc_pf);
329 1.56 mycroft pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih);
330 1.72 mycroft sc->sc_ih = 0;
331 1.15 thorpej }
332 1.15 thorpej
333 1.15 thorpej return (0);
334 1.1 matt }
335 1.86 mycroft
336 1.86 mycroft void
337 1.86 mycroft wdc_pcmcia_datain_memory(chp, flags, buf, len)
338 1.86 mycroft struct wdc_channel *chp;
339 1.86 mycroft int flags;
340 1.86 mycroft void *buf;
341 1.86 mycroft size_t len;
342 1.86 mycroft {
343 1.86 mycroft
344 1.86 mycroft while (len > 0) {
345 1.86 mycroft size_t n;
346 1.86 mycroft
347 1.86 mycroft n = min(len, 1024);
348 1.86 mycroft if (flags & DRIVE_NOSTREAM) {
349 1.86 mycroft if ((flags & DRIVE_CAP32) && (n & 3) == 0)
350 1.86 mycroft bus_space_read_region_4(
351 1.86 mycroft chp->data32iot, chp->data32ioh,
352 1.86 mycroft 0, buf, n >> 2);
353 1.86 mycroft else
354 1.86 mycroft bus_space_read_region_2(
355 1.86 mycroft chp->data32iot, chp->data32ioh,
356 1.86 mycroft 0, buf, n >> 1);
357 1.86 mycroft } else {
358 1.86 mycroft if ((flags & DRIVE_CAP32) && (n & 3) == 0)
359 1.86 mycroft bus_space_read_region_stream_4(
360 1.86 mycroft chp->data32iot, chp->data32ioh,
361 1.86 mycroft 0, buf, n >> 2);
362 1.86 mycroft else
363 1.86 mycroft bus_space_read_region_stream_2(
364 1.86 mycroft chp->data32iot, chp->data32ioh,
365 1.86 mycroft 0, buf, n >> 1);
366 1.86 mycroft }
367 1.86 mycroft buf = (char *)buf + n;
368 1.86 mycroft len -= n;
369 1.86 mycroft }
370 1.86 mycroft }
371 1.86 mycroft
372 1.86 mycroft void
373 1.86 mycroft wdc_pcmcia_dataout_memory(chp, flags, buf, len)
374 1.86 mycroft struct wdc_channel *chp;
375 1.86 mycroft int flags;
376 1.86 mycroft void *buf;
377 1.86 mycroft size_t len;
378 1.86 mycroft {
379 1.86 mycroft
380 1.86 mycroft while (len > 0) {
381 1.86 mycroft size_t n;
382 1.86 mycroft
383 1.86 mycroft n = min(len, 1024);
384 1.86 mycroft if (flags & DRIVE_NOSTREAM) {
385 1.86 mycroft if ((flags & DRIVE_CAP32) && (n & 3) == 0)
386 1.86 mycroft bus_space_write_region_4(
387 1.86 mycroft chp->data32iot, chp->data32ioh,
388 1.86 mycroft 0, buf, n >> 2);
389 1.86 mycroft else
390 1.86 mycroft bus_space_write_region_2(
391 1.86 mycroft chp->data32iot, chp->data32ioh,
392 1.86 mycroft 0, buf, n >> 1);
393 1.86 mycroft } else {
394 1.86 mycroft if ((flags & DRIVE_CAP32) && (n & 3) == 0)
395 1.86 mycroft bus_space_write_region_stream_4(
396 1.86 mycroft chp->data32iot, chp->data32ioh,
397 1.86 mycroft 0, buf, n >> 2);
398 1.86 mycroft else
399 1.86 mycroft bus_space_write_region_stream_2(
400 1.86 mycroft chp->data32iot, chp->data32ioh,
401 1.86 mycroft 0, buf, n >> 1);
402 1.86 mycroft }
403 1.86 mycroft buf = (char *)buf + n;
404 1.86 mycroft len -= n;
405 1.86 mycroft }
406 1.86 mycroft }
407