isp_freebsd.h (159187) | isp_freebsd.h (160212) |
---|---|
1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.h 159187 2006-06-03 07:19:44Z mjacob $ */ | 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 | 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 |
100typedef void ispfwfunc(int, int, int, uint16_t **); 101 | |
102#ifdef ISP_TARGET_MODE 103#define ISP_TARGET_FUNCTIONS 1 104#define ATPDPSIZE 256 105typedef struct { 106 uint32_t orig_datalen; 107 uint32_t bytes_xfered; 108 uint32_t last_xframt; 109 uint32_t tag : 16, --- 40 unchanged lines hidden (view full) --- 150 uint8_t 151 disabled : 1, 152 fcbsy : 1, 153 ktmature : 1, 154 mboxwaiting : 1, 155 intsok : 1, 156 simqfrozen : 3; 157#if __FreeBSD_version >= 500000 | 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; |
|
158 struct mtx lock; 159 struct cv kthread_cv; 160#endif 161 struct proc *kproc; 162 bus_dma_tag_t cdmat; 163 bus_dmamap_t cdmap; 164#define isp_cdmat isp_osinfo.cdmat 165#define isp_cdmap isp_osinfo.cdmap --- 353 unchanged lines hidden --- | 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 --- |