129726Swosch/*- 229726Swosch * This file is provided under a dual BSD/GPLv2 license. When using or 329726Swosch * redistributing this file, you may do so under either license. 429726Swosch * 529726Swosch * GPL LICENSE SUMMARY 629726Swosch * 729726Swosch * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 829726Swosch * 929726Swosch * This program is free software; you can redistribute it and/or modify 1029726Swosch * it under the terms of version 2 of the GNU General Public License as 1129726Swosch * published by the Free Software Foundation. 1229726Swosch * 1329726Swosch * This program is distributed in the hope that it will be useful, but 1429726Swosch * WITHOUT ANY WARRANTY; without even the implied warranty of 1529726Swosch * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1629726Swosch * General Public License for more details. 1729726Swosch * 1829726Swosch * You should have received a copy of the GNU General Public License 1938140Syokota * along with this program; if not, write to the Free Software 2029726Swosch * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 2129726Swosch * The full GNU General Public License is included in this distribution 2229726Swosch * in the file called LICENSE.GPL. 2329726Swosch * 2429726Swosch * BSD LICENSE 2529726Swosch * 2629726Swosch * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 2729726Swosch * All rights reserved. 2829726Swosch * 2929726Swosch * Redistribution and use in source and binary forms, with or without 3029726Swosch * modification, are permitted provided that the following conditions 3129726Swosch * are met: 3229726Swosch * 3329726Swosch * * Redistributions of source code must retain the above copyright 3429726Swosch * notice, this list of conditions and the following disclaimer. 3529726Swosch * * Redistributions in binary form must reproduce the above copyright 3629726Swosch * notice, this list of conditions and the following disclaimer in 3729726Swosch * the documentation and/or other materials provided with the 3829726Swosch * distribution. 3929726Swosch * 4029726Swosch * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 4129726Swosch * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 4229726Swosch * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 4329726Swosch * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 4429726Swosch * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 4529726Swosch * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 4629726Swosch * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 4729726Swosch * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 4829726Swosch * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 4929726Swosch * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 5029726Swosch * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5129726Swosch * 5229726Swosch * $FreeBSD: releng/11.0/sys/dev/isci/scil/sati_reassign_blocks.h 231136 2012-02-07 17:43:58Z jimharris $ 5329726Swosch */ 5429726Swosch#ifndef _SATI_REASSIGN_BLOCKS_H_ 5529726Swosch#define _SATI_REASSIGN_BLOCKS_H_ 5629726Swosch 5729726Swosch/** 5829726Swosch * @file 5929726Swosch * @brief This file contains the method implementations required to 6029726Swosch * translate the SCSI reassign blocks command. 6129726Swosch */ 6243334Syokota 6329726Swosch#include <dev/isci/scil/sati_types.h> 6432822Syokota#include <dev/isci/scil/sati_translator_sequence.h> 6529726Swosch 6629726Swosch 6729726Swosch 6829726SwoschSATI_STATUS sati_reassign_blocks_translate_command( 6929726Swosch SATI_TRANSLATOR_SEQUENCE_T * sequence, 7029726Swosch void * scsi_io, 7129726Swosch void * ata_io 7229726Swosch); 7329726Swosch 7429726SwoschSATI_STATUS sati_reassign_blocks_translate_response( 7529726Swosch SATI_TRANSLATOR_SEQUENCE_T * sequence, 7629726Swosch void * scsi_io, 7729726Swosch void * ata_io 7829726Swosch); 7929726Swosch 8029726Swosch#endif // _SATI_REASSIGN_BLOCKS_H_ 8129726Swosch