sati_test_unit_ready.h revision 302408
138096Speter/*- 264567Sgshapiro * This file is provided under a dual BSD/GPLv2 license. When using or 338096Speter * redistributing this file, you may do so under either license. 480029Sobrien * 580029Sobrien * GPL LICENSE SUMMARY 638096Speter * 738096Speter * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 890798Sgshapiro * 974816Sru * This program is free software; you can redistribute it and/or modify 1038096Speter * it under the terms of version 2 of the GNU General Public License as 1190798Sgshapiro * published by the Free Software Foundation. 1280029Sobrien * 1380029Sobrien * This program is distributed in the hope that it will be useful, but 14201390Sed * WITHOUT ANY WARRANTY; without even the implied warranty of 15201390Sed * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16147225Sdes * General Public License for more details. 17147225Sdes * 1890798Sgshapiro * You should have received a copy of the GNU General Public License 19147225Sdes * along with this program; if not, write to the Free Software 20147225Sdes * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 2164567Sgshapiro * The full GNU General Public License is included in this distribution 22147225Sdes * in the file called LICENSE.GPL. 23147225Sdes * 2464567Sgshapiro * BSD LICENSE 2590798Sgshapiro * 2690798Sgshapiro * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 2764567Sgshapiro * All rights reserved. 2890798Sgshapiro * 2990798Sgshapiro * Redistribution and use in source and binary forms, with or without 3090798Sgshapiro * modification, are permitted provided that the following conditions 3165970Sgshapiro * are met: 3280029Sobrien * 3365970Sgshapiro * * Redistributions of source code must retain the above copyright 3480029Sobrien * notice, this list of conditions and the following disclaimer. 3580029Sobrien * * Redistributions in binary form must reproduce the above copyright 3665970Sgshapiro * notice, this list of conditions and the following disclaimer in 3790798Sgshapiro * the documentation and/or other materials provided with the 3890798Sgshapiro * distribution. 3990798Sgshapiro * 4038096Speter * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 41 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 42 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 43 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 44 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 45 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 46 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 47 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 48 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 49 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 50 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51 * 52 * $FreeBSD: stable/11/sys/dev/isci/scil/sati_test_unit_ready.h 231136 2012-02-07 17:43:58Z jimharris $ 53 */ 54#ifndef _SATI_TEST_UNIT_READY_H_ 55#define _SATI_TEST_UNIT_READY_H_ 56 57/** 58 * @file 59 * @brief This file contains the method interfaces required to 60 * translate the SCSI test unit ready command and corresponding 61 * ATA responses. 62 */ 63 64#include <dev/isci/scil/sati_types.h> 65#include <dev/isci/scil/sati_translator_sequence.h> 66 67SATI_STATUS sati_test_unit_ready_translate_command( 68 SATI_TRANSLATOR_SEQUENCE_T * translator_sequence, 69 void * scsi_io, 70 void * ata_io 71); 72 73SATI_STATUS sati_test_unit_ready_translate_response( 74 SATI_TRANSLATOR_SEQUENCE_T * translator_sequence, 75 void * scsi_io, 76 void * ata_io 77); 78 79#endif // _SATI_TEST_UNIT_READY_H_ 80