2 .\" Copyright (c) 2000,2001 Søren Schmidt
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .Nd ATA device driver control program
37 .Ar channel Op Ar args
51 .Op Ar mastermode slavemode
59 is a control program that provides the user access and control to the
65 can cause severe system crashes and loss of data if used improperly, please
66 exercise caution when using this command!
69 supports the following commands:
70 .Bl -tag -width "attach"
74 devices on the channel are probed and attached as
79 devices on the channel are removed from the kernel,
80 and all outstanding transfers etc. are returned back to the system marked
85 Both devices on the channel are reset and
86 initialized to the parameters the ATA driver has stored internally.
87 Devices that has gone bad and no longer responds to the probe, or devices
88 that has physically been removed are removed from the kernel.
90 are devices that show up during a reset, probed and attached.
92 Without the two mode arguments the current transfer modes of both
94 If the mode arguments are given, the ATA driver
95 is asked to change the transfer modes to those given.
97 will reject modes that is not supported by the hardware.
102 case does not matter.
103 If one of the devices mode should not be changed, use a nonexisting mode
106 and the mode will remain unchanged.
108 Show info about the attached devices on the
110 currently only the device
111 name and manufacture/version strings are shown.
113 Show info about all attached devices on all active controllers.
120 utility first appeared in
126 utility was written by
128 .Aq sos@FreeBSD.org .
130 This manual page was written by
132 .Aq sos@FreeBSD.org .