xref: /illumos-gate/usr/src/cmd/hal/fdi/preprobe/10osvendor/10-ide-drives.fdi (revision e5803b76927480e8f9b67b22201c484ccf4c2bcf)
1<?xml version="1.0" encoding="UTF-8"?>
2
3<deviceinfo version="0.2">
4
5  <device>
6    <!-- Handle weird IDE drives (Jaz and Zip) by matching on the IDE model -->
7    <match key="storage.bus" string="ide">
8      <match key="storage.drive_type" string="disk">
9	<!-- IOMEGA Zip Drive -->
10	<match key="storage.model" contains_ncase="ZIP">
11          <merge key="storage.drive_type" type="string">zip</merge>
12          <merge key="storage.no_partitions_hint" type="bool">true</merge>
13          <merge key="storage.requires_eject" type="bool">true</merge>
14          <!-- treat as floppy and data at partition 4; adjust device file -->
15	  <append key="block.device" type="string">4</append>
16	</match>
17
18	<!-- IOMEGA CLIK! Drive -->
19	<match key="storage.model" contains_ncase="CLIK">
20          <merge key="storage.drive_type" type="string">zip</merge>
21          <merge key="storage.no_partitions_hint" type="bool">true</merge>
22          <merge key="storage.requires_eject" type="bool">true</merge>
23          <!-- treat as floppy and data at partition 4; adjust device file -->
24	  <append key="block.device" type="string">4</append>
25	</match>
26
27	<!-- Jaz -->
28	<match key="storage.model" contains_ncase="JAZ">
29          <merge key="storage.drive_type" type="string">jaz</merge>
30          <merge key="storage.no_partitions_hint" type="bool">true</merge>
31          <merge key="storage.requires_eject" type="bool">true</merge>
32          <!-- treat as floppy and data at partition 4; adjust device file -->
33	  <append key="block.device" type="string">4</append>
34	</match>
35      </match>
36    </match>
37
38    <match key="storage.bus" string="ide">
39      <match key="storage.drive_type" string="floppy">
40	<!-- IOMEGA Zip Drive -->
41	<match key="storage.model" contains_ncase="ZIP">
42          <merge key="storage.drive_type" type="string">zip</merge>
43          <merge key="storage.no_partitions_hint" type="bool">true</merge>
44          <merge key="storage.requires_eject" type="bool">true</merge>
45          <!-- treat as floppy and data at partition 4; adjust device file -->
46	  <append key="block.device" type="string">4</append>
47	</match>
48
49	<!-- IOMEGA CLIK! Drive -->
50	<match key="storage.model" contains_ncase="CLIK">
51          <merge key="storage.drive_type" type="string">zip</merge>
52          <merge key="storage.no_partitions_hint" type="bool">true</merge>
53          <merge key="storage.requires_eject" type="bool">true</merge>
54          <!-- treat as floppy and data at partition 4; adjust device file -->
55	  <append key="block.device" type="string">4</append>
56	</match>
57
58	<!-- Jaz -->
59	<match key="storage.model" contains_ncase="JAZ">
60          <merge key="storage.drive_type" type="string">jaz</merge>
61          <merge key="storage.no_partitions_hint" type="bool">true</merge>
62          <merge key="storage.requires_eject" type="bool">true</merge>
63          <!-- treat as floppy and data at partition 4; adjust device file -->
64	  <append key="block.device" type="string">4</append>
65	</match>
66      </match>
67    </match>
68
69  </device>
70</deviceinfo>
71