137535Sdes/*- 2226537Sdes * This file is provided under a dual BSD/GPLv2 license. When using or 337535Sdes * redistributing this file, you may do so under either license. 437535Sdes * 537535Sdes * GPL LICENSE SUMMARY 637535Sdes * 737535Sdes * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 837535Sdes * 937535Sdes * This program is free software; you can redistribute it and/or modify 1037535Sdes * it under the terms of version 2 of the GNU General Public License as 1137535Sdes * published by the Free Software Foundation. 1237535Sdes * 1337535Sdes * This program is distributed in the hope that it will be useful, but 1437535Sdes * WITHOUT ANY WARRANTY; without even the implied warranty of 1563012Sdes * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1637535Sdes * General Public License for more details. 1737535Sdes * 1837535Sdes * You should have received a copy of the GNU General Public License 1937535Sdes * along with this program; if not, write to the Free Software 2037535Sdes * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 2137535Sdes * The full GNU General Public License is included in this distribution 2237535Sdes * in the file called LICENSE.GPL. 2337535Sdes * 2437535Sdes * BSD LICENSE 2537535Sdes * 2637535Sdes * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 2737535Sdes * All rights reserved. 2837535Sdes * 2984203Sdillon * Redistribution and use in source and binary forms, with or without 3084203Sdillon * modification, are permitted provided that the following conditions 3184203Sdillon * are met: 3263236Sdes * 3363236Sdes * * Redistributions of source code must retain the above copyright 3463236Sdes * notice, this list of conditions and the following disclaimer. 3563236Sdes * * Redistributions in binary form must reproduce the above copyright 3663236Sdes * notice, this list of conditions and the following disclaimer in 3763236Sdes * the documentation and/or other materials provided with the 3863236Sdes * distribution. 3963236Sdes * 4063236Sdes * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 4163236Sdes * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 4263236Sdes * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 4363236Sdes * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 4463236Sdes * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 4563236Sdes * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 4663236Sdes * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 4763236Sdes * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 4863236Sdes * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 4990267Sdes * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 5063236Sdes * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5163236Sdes * 5263236Sdes * $FreeBSD$ 5363236Sdes */ 5463236Sdes#ifndef _SATI_REASSIGN_BLOCKS_H_ 5563236Sdes#define _SATI_REASSIGN_BLOCKS_H_ 5663236Sdes 5763236Sdes/** 5863236Sdes * @file 5963236Sdes * @brief This file contains the method implementations required to 6063236Sdes * translate the SCSI reassign blocks command. 6163236Sdes */ 6263236Sdes 6363236Sdes#include <dev/isci/scil/sati_types.h> 6437535Sdes#include <dev/isci/scil/sati_translator_sequence.h> 6560737Sume 66186124Smurray 6737535Sdes 6863012SdesSATI_STATUS sati_reassign_blocks_translate_command( 6937535Sdes SATI_TRANSLATOR_SEQUENCE_T * sequence, 7063012Sdes void * scsi_io, 7160376Sdes void * ata_io 7260189Sdes); 7337608Sdes 7437535SdesSATI_STATUS sati_reassign_blocks_translate_response( 7537535Sdes SATI_TRANSLATOR_SEQUENCE_T * sequence, 7637535Sdes void * scsi_io, 7760376Sdes void * ata_io 7837535Sdes); 79240496Sdes 80240496Sdes#endif // _SATI_REASSIGN_BLOCKS_H_ 81240496Sdes