ispvar.h (79235) | ispvar.h (80582) |
---|---|
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 79235 2001-07-04 18:46:50Z mjacob $ */ | 1/* $FreeBSD: head/sys/dev/isp/ispvar.h 80582 2001-07-30 00:59:32Z mjacob $ */ |
2/* 3 * Soft Definitions for for Qlogic ISP SCSI adapters. 4 * 5 * Copyright (c) 1997, 1998, 1999, 2000 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 --- 39 unchanged lines hidden (view full) --- 49#include "ispmbox.h" 50#ifdef ISP_TARGET_MODE 51#include "isp_target.h" 52#include "isp_tpublic.h" 53#endif 54#endif 55 56#define ISP_CORE_VERSION_MAJOR 2 | 2/* 3 * Soft Definitions for for Qlogic ISP SCSI adapters. 4 * 5 * Copyright (c) 1997, 1998, 1999, 2000 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 --- 39 unchanged lines hidden (view full) --- 49#include "ispmbox.h" 50#ifdef ISP_TARGET_MODE 51#include "isp_target.h" 52#include "isp_tpublic.h" 53#endif 54#endif 55 56#define ISP_CORE_VERSION_MAJOR 2 |
57#define ISP_CORE_VERSION_MINOR 1 | 57#define ISP_CORE_VERSION_MINOR 2 |
58 59/* 60 * Vector for bus specific code to provide specific services. 61 */ 62struct ispsoftc; 63struct ispmdvec { 64 u_int16_t (*dv_rd_reg) (struct ispsoftc *, int); 65 void (*dv_wr_reg) (struct ispsoftc *, int, u_int16_t); --- 108 unchanged lines hidden (view full) --- 174 isp_async_data_setup : 4; 175 u_int16_t isp_selection_timeout; 176 u_int16_t isp_max_queue_depth; 177 u_int8_t isp_tag_aging; 178 u_int8_t isp_bus_reset_delay; 179 u_int8_t isp_retry_count; 180 u_int8_t isp_retry_delay; 181 struct { | 58 59/* 60 * Vector for bus specific code to provide specific services. 61 */ 62struct ispsoftc; 63struct ispmdvec { 64 u_int16_t (*dv_rd_reg) (struct ispsoftc *, int); 65 void (*dv_wr_reg) (struct ispsoftc *, int, u_int16_t); --- 108 unchanged lines hidden (view full) --- 174 isp_async_data_setup : 4; 175 u_int16_t isp_selection_timeout; 176 u_int16_t isp_max_queue_depth; 177 u_int8_t isp_tag_aging; 178 u_int8_t isp_bus_reset_delay; 179 u_int8_t isp_retry_count; 180 u_int8_t isp_retry_delay; 181 struct { |
182 u_int dev_enable : 1, /* ignored */ | 182 u_int32_t 183 exc_throttle : 8, |
183 : 1, | 184 : 1, |
185 dev_enable : 1, /* ignored */ |
|
184 dev_update : 1, 185 dev_refresh : 1, | 186 dev_update : 1, 187 dev_refresh : 1, |
186 exc_throttle : 8, 187 cur_offset : 4, 188 sync_offset : 4; 189 u_int8_t cur_period; /* current sync period */ 190 u_int8_t sync_period; /* goal sync period */ 191 u_int16_t dev_flags; /* goal device flags */ 192 u_int16_t cur_dflags; /* current device flags */ | 188 actv_offset : 4, 189 goal_offset : 4, 190 nvrm_offset : 4; 191 u_int8_t actv_period; /* current sync period */ 192 u_int8_t goal_period; /* goal sync period */ 193 u_int8_t nvrm_period; /* nvram sync period */ 194 u_int16_t actv_flags; /* current device flags */ 195 u_int16_t goal_flags; /* goal device flags */ 196 u_int16_t nvrm_flags; /* nvram device flags */ |
193 } isp_devparam[MAX_TARGETS]; 194} sdparam; 195 196/* 197 * Device Flags 198 */ 199#define DPARM_DISC 0x8000 200#define DPARM_PARITY 0x4000 --- 595 unchanged lines hidden --- | 197 } isp_devparam[MAX_TARGETS]; 198} sdparam; 199 200/* 201 * Device Flags 202 */ 203#define DPARM_DISC 0x8000 204#define DPARM_PARITY 0x4000 --- 595 unchanged lines hidden --- |