xref: /freebsd/sys/dev/smartpqi/smartpqi_includes.h (revision 7ea28254ec5376b5deb86c136e1838d0134dbb22)
11e66f787SSean Bruno /*-
2*7ea28254SJohn Hall  * Copyright 2016-2023 Microchip Technology, Inc. and/or its subsidiaries.
31e66f787SSean Bruno  *
41e66f787SSean Bruno  * Redistribution and use in source and binary forms, with or without
51e66f787SSean Bruno  * modification, are permitted provided that the following conditions
61e66f787SSean Bruno  * are met:
71e66f787SSean Bruno  * 1. Redistributions of source code must retain the above copyright
81e66f787SSean Bruno  *    notice, this list of conditions and the following disclaimer.
91e66f787SSean Bruno  * 2. Redistributions in binary form must reproduce the above copyright
101e66f787SSean Bruno  *    notice, this list of conditions and the following disclaimer in the
111e66f787SSean Bruno  *    documentation and/or other materials provided with the distribution.
121e66f787SSean Bruno  *
131e66f787SSean Bruno  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
141e66f787SSean Bruno  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
151e66f787SSean Bruno  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
161e66f787SSean Bruno  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
171e66f787SSean Bruno  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
181e66f787SSean Bruno  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
191e66f787SSean Bruno  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
201e66f787SSean Bruno  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
211e66f787SSean Bruno  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
221e66f787SSean Bruno  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
231e66f787SSean Bruno  * SUCH DAMAGE.
241e66f787SSean Bruno  */
251e66f787SSean Bruno 
261e66f787SSean Bruno 
271e66f787SSean Bruno #ifndef _PQI_INCLUDES_H
281e66f787SSean Bruno #define _PQI_INCLUDES_H
291e66f787SSean Bruno 
301e66f787SSean Bruno #include <sys/param.h>
311e66f787SSean Bruno #include <sys/systm.h>
321e66f787SSean Bruno #include <sys/kernel.h>
331e66f787SSean Bruno #include <sys/module.h>
341e66f787SSean Bruno #include <sys/bio.h>
351e66f787SSean Bruno #include <sys/bus.h>
361e66f787SSean Bruno #include <sys/conf.h>
371e66f787SSean Bruno #include <sys/disk.h>
38e2e050c8SConrad Meyer #include <sys/eventhandler.h>
391e66f787SSean Bruno #include <sys/malloc.h>
401e66f787SSean Bruno #include <sys/rman.h>
411e66f787SSean Bruno #include <sys/bus.h>
421e66f787SSean Bruno #include <sys/endian.h>
431e66f787SSean Bruno #include <sys/condvar.h>
441e66f787SSean Bruno #include <sys/sysctl.h>
451e66f787SSean Bruno #include <sys/lock.h>
461e66f787SSean Bruno #include <sys/sema.h>
471e66f787SSean Bruno #include <sys/mutex.h>
481e66f787SSean Bruno #include <sys/queue.h>
491e66f787SSean Bruno #include <sys/taskqueue.h>
501e66f787SSean Bruno #include <sys/smp.h>
511e66f787SSean Bruno 
521e66f787SSean Bruno #include <machine/cpufunc.h>
531e66f787SSean Bruno #include <sys/cpu.h>
541e66f787SSean Bruno #include <sys/pcpu.h>
551e66f787SSean Bruno #include <sys/time.h>
561e66f787SSean Bruno #include <sys/clock.h>
571e66f787SSean Bruno 
581e66f787SSean Bruno #include <cam/cam.h>
591e66f787SSean Bruno #include <cam/cam_ccb.h>
601e66f787SSean Bruno #include <cam/cam_debug.h>
611e66f787SSean Bruno #include <cam/cam_periph.h>
621e66f787SSean Bruno #include <cam/cam_sim.h>
631e66f787SSean Bruno #include <cam/cam_xpt_sim.h>
641e66f787SSean Bruno #include <cam/scsi/scsi_all.h>
651e66f787SSean Bruno #include <cam/scsi/scsi_message.h>
661e66f787SSean Bruno #include <cam/cam_queue.h>
671e66f787SSean Bruno #include <cam/cam_xpt_periph.h>
681e66f787SSean Bruno 
691e66f787SSean Bruno #include <machine/bus.h>
701e66f787SSean Bruno #include <machine/resource.h>
711e66f787SSean Bruno #include <machine/md_var.h>
721e66f787SSean Bruno 
731e66f787SSean Bruno #include <dev/pci/pcireg.h>
741e66f787SSean Bruno #include <dev/pci/pcivar.h>
751e66f787SSean Bruno 
761e66f787SSean Bruno #include <vm/vm.h>
771e66f787SSean Bruno #include <vm/pmap.h>
781e66f787SSean Bruno 
799fac68fcSPAPANI SRIKANTH 
801e66f787SSean Bruno #include "smartpqi_defines.h"
811e66f787SSean Bruno #include "smartpqi_structures.h"
821e66f787SSean Bruno #include "smartpqi_prototypes.h"
831e66f787SSean Bruno #include "smartpqi_ioctl.h"
84*7ea28254SJohn Hall #include "smartpqi_helper.h"
851e66f787SSean Bruno 
86*7ea28254SJohn Hall #endif /* _PQI_INCLUDES_H*/
87