Deleted Added
full compact
ispvar.h (35597) ispvar.h (36767)
1/* $Id: ispvar.h,v 1.1 1998/04/22 17:54:58 mjacob Exp $ */
1/* $Id: ispvar.h,v 1.2 1998/05/01 18:10:50 bde Exp $ */
2/*
3 * Soft Definitions for for Qlogic ISP SCSI adapters.
4 *
5 *---------------------------------------
6 * Copyright (c) 1997, 1998 by Matthew Jacob
7 * NASA/Ames Research Center
8 * All rights reserved.
9 *---------------------------------------

--- 74 unchanged lines hidden (view full) ---

84#define ISP_QUEUE_ENTRY(q, idx) ((q) + ((idx) * QENTRY_LEN))
85#define ISP_QUEUE_SIZE(n) ((n) * QENTRY_LEN)
86
87/*
88 * SCSI (as opposed to FC-PH) Specific Host Adapter Parameters
89 */
90
91typedef struct {
2/*
3 * Soft Definitions for for Qlogic ISP SCSI adapters.
4 *
5 *---------------------------------------
6 * Copyright (c) 1997, 1998 by Matthew Jacob
7 * NASA/Ames Research Center
8 * All rights reserved.
9 *---------------------------------------

--- 74 unchanged lines hidden (view full) ---

84#define ISP_QUEUE_ENTRY(q, idx) ((q) + ((idx) * QENTRY_LEN))
85#define ISP_QUEUE_SIZE(n) ((n) * QENTRY_LEN)
86
87/*
88 * SCSI (as opposed to FC-PH) Specific Host Adapter Parameters
89 */
90
91typedef struct {
92 u_int16_t isp_adapter_enabled : 1,
92 u_int isp_adapter_enabled : 1,
93 isp_req_ack_active_neg : 1,
94 isp_data_line_active_neg: 1,
95 isp_cmd_dma_burst_enable: 1,
96 isp_data_dma_burst_enabl: 1,
97 isp_fifo_threshold : 2,
98 isp_diffmode : 1,
99 isp_initiator_id : 4,
100 isp_async_data_setup : 4;
101 u_int16_t isp_selection_timeout;
102 u_int16_t isp_max_queue_depth;
103 u_int16_t isp_clock;
104 u_int8_t isp_tag_aging;
105 u_int8_t isp_bus_reset_delay;
106 u_int8_t isp_retry_count;
107 u_int8_t isp_retry_delay;
108 struct {
109 u_int8_t dev_flags; /* Device Flags - see below */
110 u_int8_t exc_throttle;
111 u_int8_t sync_period;
93 isp_req_ack_active_neg : 1,
94 isp_data_line_active_neg: 1,
95 isp_cmd_dma_burst_enable: 1,
96 isp_data_dma_burst_enabl: 1,
97 isp_fifo_threshold : 2,
98 isp_diffmode : 1,
99 isp_initiator_id : 4,
100 isp_async_data_setup : 4;
101 u_int16_t isp_selection_timeout;
102 u_int16_t isp_max_queue_depth;
103 u_int16_t isp_clock;
104 u_int8_t isp_tag_aging;
105 u_int8_t isp_bus_reset_delay;
106 u_int8_t isp_retry_count;
107 u_int8_t isp_retry_delay;
108 struct {
109 u_int8_t dev_flags; /* Device Flags - see below */
110 u_int8_t exc_throttle;
111 u_int8_t sync_period;
112 u_int8_t sync_offset : 4,
112 u_int sync_offset : 4,
113 dev_enable : 1;
114 } isp_devparam[MAX_TARGETS];
115} sdparam; /* scsi device parameters */
116
117/*
118 * Device Flags
119 */
120#define DPARM_DISC 0x80

--- 221 unchanged lines hidden ---
113 dev_enable : 1;
114 } isp_devparam[MAX_TARGETS];
115} sdparam; /* scsi device parameters */
116
117/*
118 * Device Flags
119 */
120#define DPARM_DISC 0x80

--- 221 unchanged lines hidden ---