1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.h 160212 2006-07-09 17:50:20Z mjacob $ */ |
2/*- 3 * Qlogic ISP SCSI Host Adapter FreeBSD Wrapper Definitions 4 * 5 * Copyright (c) 1997-2006 by Matthew Jacob 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 82 unchanged lines hidden (view full) --- 92#else 93#ifdef ISP_SMPLOCK 94#define ISP_IFLAGS INTR_TYPE_CAM | INTR_ENTROPY | INTR_MPSAFE 95#else 96#define ISP_IFLAGS INTR_TYPE_CAM | INTR_ENTROPY 97#endif 98#endif 99 |
100#ifdef ISP_TARGET_MODE 101#define ISP_TARGET_FUNCTIONS 1 102#define ATPDPSIZE 256 103typedef struct { 104 uint32_t orig_datalen; 105 uint32_t bytes_xfered; 106 uint32_t last_xframt; 107 uint32_t tag : 16, --- 40 unchanged lines hidden (view full) --- 148 uint8_t 149 disabled : 1, 150 fcbsy : 1, 151 ktmature : 1, 152 mboxwaiting : 1, 153 intsok : 1, 154 simqfrozen : 3; 155#if __FreeBSD_version >= 500000 |
156 struct firmware * fw; |
157 struct mtx lock; 158 struct cv kthread_cv; 159#endif 160 struct proc *kproc; 161 bus_dma_tag_t cdmat; 162 bus_dmamap_t cdmap; 163#define isp_cdmat isp_osinfo.cdmat 164#define isp_cdmap isp_osinfo.cdmap --- 353 unchanged lines hidden --- |