camcontrol.8 (233458) | camcontrol.8 (233648) |
---|---|
1.\" 2.\" Copyright (c) 1998, 1999, 2000, 2002, 2005, 2006, 2007 Kenneth D. Merry. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" | 1.\" 2.\" Copyright (c) 1998, 1999, 2000, 2002, 2005, 2006, 2007 Kenneth D. Merry. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" |
28.\" $FreeBSD: head/sbin/camcontrol/camcontrol.8 233458 2012-03-25 09:21:09Z joel $ | 28.\" $FreeBSD: head/sbin/camcontrol/camcontrol.8 233648 2012-03-29 05:02:12Z eadler $ |
29.\" 30.Dd November 24, 2011 31.Dt CAMCONTROL 8 32.Os 33.Sh NAME 34.Nm camcontrol 35.Nd CAM control program 36.Sh SYNOPSIS --- 557 unchanged lines hidden (view full) --- 594This specifies that 11 result ATA Command Block registers should be displayed 595(status, error, lba_low, lba_mid, lba_high, device, lba_low_exp, lba_mid_exp, 596lba_high_exp, sector_count, sector_count_exp), and how. 597If the format is 598.Sq - , 59911 result registers will be written to standard output in hex. 600.El 601.It Ic smpcmd | 29.\" 30.Dd November 24, 2011 31.Dt CAMCONTROL 8 32.Os 33.Sh NAME 34.Nm camcontrol 35.Nd CAM control program 36.Sh SYNOPSIS --- 557 unchanged lines hidden (view full) --- 594This specifies that 11 result ATA Command Block registers should be displayed 595(status, error, lba_low, lba_mid, lba_high, device, lba_low_exp, lba_mid_exp, 596lba_high_exp, sector_count, sector_count_exp), and how. 597If the format is 598.Sq - , 59911 result registers will be written to standard output in hex. 600.El 601.It Ic smpcmd |
602Allows the user to send an arbitrary Serial | 602Allows the user to send an arbitrary Serial |
603Management Protocol (SMP) command to a device. 604The 605.Ic smpcmd 606function requires the 607.Fl r 608argument to specify the SMP request to be sent, and the 609.Fl R 610argument to specify the format of the SMP response. --- 44 unchanged lines hidden (view full) --- 655This function should be used with some caution, as it can render devices 656inaccessible, and could potentially cause data corruption as well. 657The 658.Fl p 659argument is required to specify the PHY to operate on. 660.Bl -tag -width 17n 661.It Fl p Ar phy 662Specify the PHY to operate on. | 603Management Protocol (SMP) command to a device. 604The 605.Ic smpcmd 606function requires the 607.Fl r 608argument to specify the SMP request to be sent, and the 609.Fl R 610argument to specify the format of the SMP response. --- 44 unchanged lines hidden (view full) --- 655This function should be used with some caution, as it can render devices 656inaccessible, and could potentially cause data corruption as well. 657The 658.Fl p 659argument is required to specify the PHY to operate on. 660.Bl -tag -width 17n 661.It Fl p Ar phy 662Specify the PHY to operate on. |
663This argument is required. | 663This argument is required. |
664.It Fl l 665Request the long request/response format. 666Not all SMP targets support the long response format. 667For the PHY Control command, this currently only affects whether the 668request length is set to a value other than 0. 669.It Fl o Ar operation 670Specify a PHY control operation. 671Only one --- 619 unchanged lines hidden --- | 664.It Fl l 665Request the long request/response format. 666Not all SMP targets support the long response format. 667For the PHY Control command, this currently only affects whether the 668request length is set to a value other than 0. 669.It Fl o Ar operation 670Specify a PHY control operation. 671Only one --- 619 unchanged lines hidden --- |