ispvar.h (59454) | ispvar.h (60221) |
---|---|
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 59454 2000-04-21 02:06:30Z mjacob $ */ | 1/* $FreeBSD: head/sys/dev/isp/ispvar.h 60221 2000-05-09 01:09:23Z 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 13 | 61#define ISP_CORE_VERSION_MINOR 14 |
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)); --- 185 unchanged lines hidden (view full) --- 255 * so the actual loop ID passed to the F/W is in this structure. 256 * The first time the loop is seen up, loopid will match the index 257 * (except for fabric nodes which are above mapped above FC_SNS_ID 258 * and are completely virtual), but subsequent LIPs can cause things 259 * to move around. 260 */ 261 struct lportdb { 262 u_int | 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)); --- 185 unchanged lines hidden (view full) --- 255 * so the actual loop ID passed to the F/W is in this structure. 256 * The first time the loop is seen up, loopid will match the index 257 * (except for fabric nodes which are above mapped above FC_SNS_ID 258 * and are completely virtual), but subsequent LIPs can cause things 259 * to move around. 260 */ 261 struct lportdb { 262 u_int |
263 loopid : 8, 264 : 4, 265 fabdev : 1, 266 roles : 2, 267 valid : 1; | 263 loopid : 8, 264 : 4, 265 loggedin : 1, 266 roles : 2, 267 valid : 1; |
268 u_int32_t portid; 269 u_int64_t node_wwn; 270 u_int64_t port_wwn; 271 } portdb[MAX_FC_TARG], tport[FL_PORT_ID]; 272 273 /* 274 * Scratch DMA mapped in area to fetch Port Database stuff, etc. 275 */ --- 228 unchanged lines hidden --- | 268 u_int32_t portid; 269 u_int64_t node_wwn; 270 u_int64_t port_wwn; 271 } portdb[MAX_FC_TARG], tport[FL_PORT_ID]; 272 273 /* 274 * Scratch DMA mapped in area to fetch Port Database stuff, etc. 275 */ --- 228 unchanged lines hidden --- |