Deleted Added
sdiff udiff text old ( 57145 ) new ( 59454 )
full compact
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 57145 2000-02-11 19:25:01Z 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
61#define ISP_CORE_VERSION_MINOR 12
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,
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_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
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 ---