Deleted Added
full compact
ispvar.h (57145) ispvar.h (59454)
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 57145 2000-02-11 19:25:01Z mjacob $ */
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 59454 2000-04-21 02:06:30Z mjacob $ */
2/*
3 * Soft Definitions for for Qlogic ISP SCSI adapters.
4 *
5 * Copyright (c) 1997, 1998, 1999 by Matthew Jacob
6 * NASA/Ames Research Center
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

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

53#include "ispmbox.h"
54#ifdef ISP_TARGET_MODE
55#include "isp_target.h"
56#include "isp_tpublic.h"
57#endif
58#endif
59
60#define ISP_CORE_VERSION_MAJOR 1
2/*
3 * Soft Definitions for for Qlogic ISP SCSI adapters.
4 *
5 * Copyright (c) 1997, 1998, 1999 by Matthew Jacob
6 * NASA/Ames Research Center
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

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

53#include "ispmbox.h"
54#ifdef ISP_TARGET_MODE
55#include "isp_target.h"
56#include "isp_tpublic.h"
57#endif
58#endif
59
60#define ISP_CORE_VERSION_MAJOR 1
61#define ISP_CORE_VERSION_MINOR 12
61#define ISP_CORE_VERSION_MINOR 13
62
63/*
64 * Vector for bus specific code to provide specific services.
65 */
66struct ispsoftc;
67struct ispmdvec {
68 u_int16_t (*dv_rd_reg) __P((struct ispsoftc *, int));
69 void (*dv_wr_reg) __P((struct ispsoftc *, int, u_int16_t));

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

225 * Fibre Channel Specifics
226 */
227#define FL_PORT_ID 0x7e /* FL_Port Special ID */
228#define FC_PORT_ID 0x7f /* Fabric Controller Special ID */
229#define FC_SNS_ID 0x80 /* SNS Server Special ID */
230
231typedef struct {
232 u_int32_t isp_fwoptions : 16,
62
63/*
64 * Vector for bus specific code to provide specific services.
65 */
66struct ispsoftc;
67struct ispmdvec {
68 u_int16_t (*dv_rd_reg) __P((struct ispsoftc *, int));
69 void (*dv_wr_reg) __P((struct ispsoftc *, int, u_int16_t));

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

225 * Fibre Channel Specifics
226 */
227#define FL_PORT_ID 0x7e /* FL_Port Special ID */
228#define FC_PORT_ID 0x7f /* Fabric Controller Special ID */
229#define FC_SNS_ID 0x80 /* SNS Server Special ID */
230
231typedef struct {
232 u_int32_t isp_fwoptions : 16,
233 : 7,
233 : 4,
234 loop_seen_once : 1,
235 isp_loopstate : 3, /* Current Loop State */
236 isp_fwstate : 3, /* ISP F/W state */
237 isp_gotdparms : 1,
234 loop_seen_once : 1,
235 isp_loopstate : 3, /* Current Loop State */
236 isp_fwstate : 3, /* ISP F/W state */
237 isp_gotdparms : 1,
238 isp_topo : 3,
238 isp_onfabric : 1;
239 u_int8_t isp_loopid; /* hard loop id */
240 u_int8_t isp_alpa; /* ALPA */
241 volatile u_int16_t isp_lipseq; /* LIP sequence # */
242 u_int32_t isp_portid;
243 u_int8_t isp_execthrottle;
244 u_int8_t isp_retry_delay;
245 u_int8_t isp_retry_count;

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

285#define FW_REINIT 6
286#define FW_NON_PART 7
287
288#define LOOP_NIL 0
289#define LOOP_LIP_RCVD 1
290#define LOOP_PDB_RCVD 2
291#define LOOP_READY 7
292
239 isp_onfabric : 1;
240 u_int8_t isp_loopid; /* hard loop id */
241 u_int8_t isp_alpa; /* ALPA */
242 volatile u_int16_t isp_lipseq; /* LIP sequence # */
243 u_int32_t isp_portid;
244 u_int8_t isp_execthrottle;
245 u_int8_t isp_retry_delay;
246 u_int8_t isp_retry_count;

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

286#define FW_REINIT 6
287#define FW_NON_PART 7
288
289#define LOOP_NIL 0
290#define LOOP_LIP_RCVD 1
291#define LOOP_PDB_RCVD 2
292#define LOOP_READY 7
293
294#define TOPO_NL_PORT 0
295#define TOPO_FL_PORT 1
296#define TOPO_N_PORT 2
297#define TOPO_F_PORT 3
298#define TOPO_PTP_STUB 4
299
293/*
294 * Soft Structure per host adapter
295 */
296struct ispsoftc {
297 /*
298 * Platform (OS) specific data
299 */
300 struct isposinfo isp_osinfo;

--- 196 unchanged lines hidden ---
300/*
301 * Soft Structure per host adapter
302 */
303struct ispsoftc {
304 /*
305 * Platform (OS) specific data
306 */
307 struct isposinfo isp_osinfo;

--- 196 unchanged lines hidden ---