Fix the fallouts from r146267:

- Add the forgotten "mode" argument to the "mode" command.
- Move the description of "info" to where it belongs.
This commit is contained in:
Ruslan Ermilov 2008-12-14 12:56:56 +00:00
parent 0f3311c56f
commit a794372087

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd June 25, 2008 .Dd December 14, 2008
.Dt ATACONTROL 8 .Dt ATACONTROL 8
.Os .Os
.Sh NAME .Sh NAME
@ -63,6 +63,7 @@
.Nm .Nm
.Ic mode .Ic mode
.Ar device .Ar device
.Op Ar mode
.Nm .Nm
.Ic info .Ic info
.Ar channel .Ar channel
@ -94,7 +95,7 @@ The
.Ar channel .Ar channel
argument is the ATA channel device (e.g., ata0) on which to operate. argument is the ATA channel device (e.g., ata0) on which to operate.
The following commands are supported: The following commands are supported:
.Bl -tag -width "rebuild" .Bl -tag -width ".Ic addspare"
.It Ic attach .It Ic attach
Attach an ATA Attach an ATA
.Ar channel . .Ar channel .
@ -162,9 +163,13 @@ Rebuild a RAID1 array on a RAID capable ATA controller.
.It Ic status .It Ic status
Get the status of an ATA RAID. Get the status of an ATA RAID.
.It Ic mode .It Ic mode
Without the mode argument, the current transfer modes of the Without the
.Ar mode
argument, the current transfer mode of the
device are printed. device are printed.
If the mode argument is given, the ATA driver If the
.Ar mode
argument is given, the ATA driver
is asked to change the transfer mode to the one given. is asked to change the transfer mode to the one given.
The ATA driver The ATA driver
will reject modes that are not supported by the hardware. will reject modes that are not supported by the hardware.
@ -190,7 +195,6 @@ and
.Cm UDMA6 .Cm UDMA6
(alias (alias
.Cm UDMA133 ) . .Cm UDMA133 ) .
The device name and manufacture/version strings are shown.
.It Ic cap .It Ic cap
Show detailed info about the device on Show detailed info about the device on
.Ar device . .Ar device .
@ -205,6 +209,7 @@ No further actions are needed in this case.
.It Ic info .It Ic info
Show info about the attached devices on the Show info about the attached devices on the
.Ar channel . .Ar channel .
The device name and manufacture/version strings are shown.
.It Ic list .It Ic list
Show info about all attached devices on all active controllers. Show info about all attached devices on all active controllers.
.El .El