|
Lines 145-150
Link Here
|
| 145 |
as argument (i.e.\& |
145 |
as argument (i.e.\& |
| 146 |
.Dq Li XXX ) , |
146 |
.Dq Li XXX ) , |
| 147 |
and the mode will remain unchanged. |
147 |
and the mode will remain unchanged. |
|
|
148 |
.Pp |
| 149 |
Currently supported modes are : |
| 150 |
.Dq Li BIOSDMA , |
| 151 |
.Dq Li PIO0 (alias BIOSPIO) , |
| 152 |
.Dq Li PIO1 , |
| 153 |
.Dq Li PIO2 , |
| 154 |
.Dq Li PIO3 , |
| 155 |
.Dq Li PIO4 , |
| 156 |
.Dq Li WDMA2 , |
| 157 |
.Dq Li UDMA2 (alias UDMA33) , |
| 158 |
.Dq Li UDMA4 (alias UDMA66) , |
| 159 |
.Dq Li UDMA5 (alias UDMA100) |
| 160 |
and |
| 161 |
.Dq Li UDMA6 (alias UDMA133) . |
| 148 |
.It Ic info |
162 |
.It Ic info |
| 149 |
Show info about the attached devices on the |
163 |
Show info about the attached devices on the |
| 150 |
.Ar channel , |
164 |
.Ar channel , |
|
Lines 161-166
Link Here
|
| 161 |
.It Ic list |
175 |
.It Ic list |
| 162 |
Show info about all attached devices on all active controllers. |
176 |
Show info about all attached devices on all active controllers. |
| 163 |
.El |
177 |
.El |
|
|
178 |
.Sh EXAMPLES |
| 179 |
To see the devices' current access modes, use the command line: |
| 180 |
.Pp |
| 181 |
.Dl atacontrol mode 0 |
| 182 |
.Pp |
| 183 |
which results in the modes of the devices being displayed as a string |
| 184 |
like this: |
| 185 |
.Pp |
| 186 |
.Dl Master = WDMA2 |
| 187 |
.Dl Slave = PIO4 |
| 188 |
.Pp |
| 189 |
This means that ata0-master is in DMA mode, |
| 190 |
ata0-slave is in PIO mode, |
| 191 |
and so forth. |
| 192 |
You can set the mode with atacontrol and a string like the above, |
| 193 |
for example: |
| 194 |
.Pp |
| 195 |
.Dl atacontrol mode 0 PIO4 PIO4 |
| 196 |
.Pp |
| 197 |
The new modes are set as soon as the atacontrol command returns. |
| 164 |
.Sh SEE ALSO |
198 |
.Sh SEE ALSO |
| 165 |
.Xr ata 4 |
199 |
.Xr ata 4 |
| 166 |
.Sh HISTORY |
200 |
.Sh HISTORY |