2017-11-27 14:52:40 +00:00
|
|
|
/*-
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
|
|
|
*
|
2007-05-09 04:16:32 +00:00
|
|
|
* Copyright (c) 2004-07 Applied Micro Circuits Corporation.
|
2005-04-12 22:07:11 +00:00
|
|
|
* Copyright (c) 2004-05 Vinod Kashyap.
|
2004-03-30 03:46:00 +00:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
* SUCH DAMAGE.
|
|
|
|
*
|
|
|
|
* $FreeBSD$
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2005-04-12 22:07:11 +00:00
|
|
|
* AMCC'S 3ware driver for 9000 series storage controllers.
|
2004-03-30 03:46:00 +00:00
|
|
|
*
|
|
|
|
* Author: Vinod Kashyap
|
2007-05-09 04:16:32 +00:00
|
|
|
* Modifications by: Adam Radford
|
2004-03-30 03:46:00 +00:00
|
|
|
*/
|
|
|
|
|
2005-04-12 22:07:11 +00:00
|
|
|
#ifndef TW_OSL_INCLUDES_H
|
|
|
|
|
|
|
|
#define TW_OSL_INCLUDES_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* All header files needed by the OS Layer.
|
|
|
|
*/
|
|
|
|
|
2004-03-30 03:46:00 +00:00
|
|
|
#include <sys/param.h>
|
|
|
|
#include <sys/systm.h>
|
|
|
|
#include <sys/malloc.h>
|
|
|
|
#include <sys/kernel.h>
|
2004-05-30 20:08:47 +00:00
|
|
|
#include <sys/module.h>
|
2004-03-30 03:46:00 +00:00
|
|
|
#include <sys/sysctl.h>
|
|
|
|
#include <sys/bus.h>
|
|
|
|
#include <sys/conf.h>
|
2006-10-02 12:59:59 +00:00
|
|
|
#include <sys/clock.h>
|
2004-03-30 03:46:00 +00:00
|
|
|
#include <sys/disk.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <sys/devicestat.h>
|
2005-04-12 22:07:11 +00:00
|
|
|
#include <sys/taskqueue.h>
|
2004-03-30 03:46:00 +00:00
|
|
|
|
|
|
|
#include <machine/bus.h>
|
|
|
|
#include <machine/resource.h>
|
2005-04-12 22:07:11 +00:00
|
|
|
#include <machine/stdarg.h>
|
2004-03-30 03:46:00 +00:00
|
|
|
|
|
|
|
#include <vm/vm.h>
|
|
|
|
|
|
|
|
#include <sys/rman.h>
|
|
|
|
|
|
|
|
#include <dev/pci/pcireg.h>
|
|
|
|
#include <dev/pci/pcivar.h>
|
|
|
|
|
2005-09-11 00:52:05 +00:00
|
|
|
#include <dev/twa/tw_osl_share.h>
|
|
|
|
#include <dev/twa/tw_cl_share.h>
|
|
|
|
#include <dev/twa/tw_osl_externs.h>
|
2005-04-12 22:07:11 +00:00
|
|
|
|
|
|
|
#endif /* TW_OSL_INCLUDES_H */
|