4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * CDDL HEADER START
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * The contents of this file are subject to the terms of the
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * Common Development and Distribution License (the "License").
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * You may not use this file except in compliance with the License.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * See the License for the specific language governing permissions
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * and limitations under the License.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * When distributing Covered Code, include this CDDL HEADER in each
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * If applicable, add the following below this CDDL HEADER, with the
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * fields enclosed by brackets "[]" replaced with your own identifying
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * information: Portions Copyright [yyyy] [name of copyright owner]
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * CDDL HEADER END
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * Use is subject to license terms.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * SAS Common Structures and Definitions
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dhextern "C" {
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * SAS Address Frames
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * Trailing 4 byte CRC not included.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dhtypedef struct {
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dhtypedef struct {
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * SSP Definitions
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dhtypedef struct {
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh /* additional cdb bytes go here, followed by 4 byte CRC */
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dhtypedef struct {
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh /* response data followed by sense data goes here */
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh/* length of bytes up to response data */
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * When the RSP IU is type RESPONSE_DATA,
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * the first 4 bytes of response data should
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * be a Big Endian representation of one of
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * these codes.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * Task Management Functions- should be in a SAM definition file
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * PHY size changed from SAS1.1 to SAS2.
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh * Maximum SMP payload size, including CRC
4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6dh#endif /* _SAS_H */