Deleted Added
full compact
ispvar.h (82689) ispvar.h (82841)
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 82689 2001-08-31 21:39:04Z mjacob $ */
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 82841 2001-09-03 03:03: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

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

252 isp_gotdparms : 1,
253 isp_topo : 3,
254 isp_onfabric : 1;
255 u_int8_t isp_iid; /* 'initiator' id */
256 u_int8_t isp_loopid; /* hard loop id */
257 u_int8_t isp_alpa; /* ALPA */
258 u_int32_t isp_portid;
259 volatile u_int16_t isp_lipseq; /* LIP sequence # */
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

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

252 isp_gotdparms : 1,
253 isp_topo : 3,
254 isp_onfabric : 1;
255 u_int8_t isp_iid; /* 'initiator' id */
256 u_int8_t isp_loopid; /* hard loop id */
257 u_int8_t isp_alpa; /* ALPA */
258 u_int32_t isp_portid;
259 volatile u_int16_t isp_lipseq; /* LIP sequence # */
260 u_int16_t isp_xxxxxx;
260 u_int16_t isp_fwattr; /* firmware attributes */
261 u_int8_t isp_execthrottle;
262 u_int8_t isp_retry_delay;
263 u_int8_t isp_retry_count;
264 u_int8_t isp_reserved;
265 u_int16_t isp_maxalloc;
266 u_int16_t isp_maxfrmlen;
267 u_int64_t isp_nodewwn;
268 u_int64_t isp_portwwn;

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

459
460
461/*
462 * Firmware related defines
463 */
464#define ISP_CODE_ORG 0x1000 /* default f/w code start */
465#define ISP_CODE_ORG_2300 0x0800 /* ..except for 2300s */
466#define ISP_FW_REV(maj, min, mic) ((maj << 24) | (min << 16) | mic)
261 u_int8_t isp_execthrottle;
262 u_int8_t isp_retry_delay;
263 u_int8_t isp_retry_count;
264 u_int8_t isp_reserved;
265 u_int16_t isp_maxalloc;
266 u_int16_t isp_maxfrmlen;
267 u_int64_t isp_nodewwn;
268 u_int64_t isp_portwwn;

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

459
460
461/*
462 * Firmware related defines
463 */
464#define ISP_CODE_ORG 0x1000 /* default f/w code start */
465#define ISP_CODE_ORG_2300 0x0800 /* ..except for 2300s */
466#define ISP_FW_REV(maj, min, mic) ((maj << 24) | (min << 16) | mic)
467#define ISP_FW_MAJOR(code) ((code >> 24) & 0xff)
468#define ISP_FW_MINOR(code) ((code >> 16) & 0xff)
469#define ISP_FW_MICRO(code) ((code >> 8) & 0xff)
467#define ISP_FW_REVX(xp) ((xp[0]<<24) | (xp[1] << 16) | xp[2])
470#define ISP_FW_REVX(xp) ((xp[0]<<24) | (xp[1] << 16) | xp[2])
471#define ISP_FW_MAJORX(xp) (xp[0])
472#define ISP_FW_MINORX(xp) (xp[1])
473#define ISP_FW_MICROX(xp) (xp[2])
468
469/*
470 * Bus (implementation) types
471 */
472#define ISP_BT_PCI 0 /* PCI Implementations */
473#define ISP_BT_SBUS 1 /* SBus Implementations */
474
475/*

--- 349 unchanged lines hidden ---
474
475/*
476 * Bus (implementation) types
477 */
478#define ISP_BT_PCI 0 /* PCI Implementations */
479#define ISP_BT_SBUS 1 /* SBus Implementations */
480
481/*

--- 349 unchanged lines hidden ---