sati_synchronize_cache.h revision 230557
198943Sluigi/*- 298943Sluigi * This file is provided under a dual BSD/GPLv2 license. When using or 398943Sluigi * redistributing this file, you may do so under either license. 498943Sluigi * 598943Sluigi * GPL LICENSE SUMMARY 698943Sluigi * 798943Sluigi * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 898943Sluigi * 998943Sluigi * This program is free software; you can redistribute it and/or modify 1098943Sluigi * it under the terms of version 2 of the GNU General Public License as 1198943Sluigi * published by the Free Software Foundation. 1298943Sluigi * 1398943Sluigi * This program is distributed in the hope that it will be useful, but 1498943Sluigi * WITHOUT ANY WARRANTY; without even the implied warranty of 1598943Sluigi * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1698943Sluigi * General Public License for more details. 1798943Sluigi * 1898943Sluigi * You should have received a copy of the GNU General Public License 1998943Sluigi * along with this program; if not, write to the Free Software 2098943Sluigi * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 2198943Sluigi * The full GNU General Public License is included in this distribution 2298943Sluigi * in the file called LICENSE.GPL. 2398943Sluigi * 2498943Sluigi * BSD LICENSE 2598943Sluigi * 2698943Sluigi * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 2798943Sluigi * All rights reserved. 2898943Sluigi * 2998943Sluigi * Redistribution and use in source and binary forms, with or without 3098943Sluigi * modification, are permitted provided that the following conditions 3198943Sluigi * are met: 3298943Sluigi * 3398943Sluigi * * Redistributions of source code must retain the above copyright 3498943Sluigi * notice, this list of conditions and the following disclaimer. 3598943Sluigi * * Redistributions in binary form must reproduce the above copyright 3698943Sluigi * notice, this list of conditions and the following disclaimer in 3798943Sluigi * the documentation and/or other materials provided with the 3898943Sluigi * distribution. 3998943Sluigi * 4098943Sluigi * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 4198943Sluigi * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 4298943Sluigi * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 4399603Sbde * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 4498943Sluigi * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 4598943Sluigi * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 4698943Sluigi * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 4798943Sluigi * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 4898943Sluigi * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 4998943Sluigi * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 5098943Sluigi * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5198943Sluigi * 5298943Sluigi * $FreeBSD$ 5398943Sluigi */ 5498943Sluigi#ifndef _SATI_SYNCHRONIZE_CACHE_H_ 5598943Sluigi#define _SATI_SYNCHRONIZE_CACHE_H_ 5698943Sluigi 5798943Sluigi/** 5898943Sluigi * @file 5998943Sluigi * @brief This file contains the method prototypes and constructs 6098943Sluigi * for translating the SCSI SYNCHRONIZE CACHE (10, 16-byte) commands. 6198943Sluigi */ 6298943Sluigi 6398943Sluigi#include <dev/isci/scil/sati_translator_sequence.h> 6498943Sluigi 6598943SluigiSATI_STATUS sati_synchronize_cache_translate_command( 6698943Sluigi SATI_TRANSLATOR_SEQUENCE_T * sequence, 6798943Sluigi void * scsi_io, 6898943Sluigi void * ata_io 6998943Sluigi); 7098943Sluigi 7198943Sluigi#endif // _SATI_SYNCHRONIZE_CACHE_H_ 7298943Sluigi