Deleted Added
full compact
ispvar.h (292739) ispvar.h (292765)
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 292739 2015-12-26 04:26:32Z mav $ */
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 292765 2015-12-27 06:28:31Z mav $ */
2/*-
3 * Copyright (c) 1997-2009 by Matthew Jacob
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *

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

72 uint16_t dv_clock; /* clock frequency */
73};
74
75/*
76 * Overall parameters
77 */
78#define MAX_TARGETS 16
79#ifndef MAX_FC_TARG
2/*-
3 * Copyright (c) 1997-2009 by Matthew Jacob
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *

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

72 uint16_t dv_clock; /* clock frequency */
73};
74
75/*
76 * Overall parameters
77 */
78#define MAX_TARGETS 16
79#ifndef MAX_FC_TARG
80#define MAX_FC_TARG 256
80#define MAX_FC_TARG 1024
81#endif
82#define ISP_MAX_TARGETS(isp) (IS_FC(isp)? MAX_FC_TARG : MAX_TARGETS)
83#define ISP_MAX_LUNS(isp) (isp)->isp_maxluns
84
85/*
86 * Macros to access ISP registers through bus specific layers-
87 * mostly wrappers to vector through the mdvec structure.
88 */

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

467 */
468 fcportdb_t portdb[MAX_FC_TARG];
469
470 /*
471 * Scratch DMA mapped in area to fetch Port Database stuff, etc.
472 */
473 void * isp_scratch;
474 XS_DMA_ADDR_T isp_scdma;
81#endif
82#define ISP_MAX_TARGETS(isp) (IS_FC(isp)? MAX_FC_TARG : MAX_TARGETS)
83#define ISP_MAX_LUNS(isp) (isp)->isp_maxluns
84
85/*
86 * Macros to access ISP registers through bus specific layers-
87 * mostly wrappers to vector through the mdvec structure.
88 */

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

467 */
468 fcportdb_t portdb[MAX_FC_TARG];
469
470 /*
471 * Scratch DMA mapped in area to fetch Port Database stuff, etc.
472 */
473 void * isp_scratch;
474 XS_DMA_ADDR_T isp_scdma;
475
476 uint8_t isp_scanscratch[ISP_FC_SCRLEN];
475} fcparam;
476
477#define FW_CONFIG_WAIT 0
478#define FW_WAIT_LINK 1
479#define FW_WAIT_LOGIN 2
480#define FW_READY 3
481#define FW_LOSS_OF_SYNC 4
482#define FW_ERROR 5

--- 664 unchanged lines hidden ---
477} fcparam;
478
479#define FW_CONFIG_WAIT 0
480#define FW_WAIT_LINK 1
481#define FW_WAIT_LOGIN 2
482#define FW_READY 3
483#define FW_LOSS_OF_SYNC 4
484#define FW_ERROR 5

--- 664 unchanged lines hidden ---