mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Roll internal release tag. Roll core version minor. Fix broken DPARM_DEFAULT
define. Add a new config flag param (ISP_CFG_NONVRAM) whose intent it is to cause NVRAM to be ignored. Add ISPASYNC_LOOP_DOWN and ISPASYNC_LOOP_UP isp_async enums. Amazingly enough, I did all my scsi_sa work recently without realizing that I had a broken isp card whose (unchangeable- it's an old old old isp1020) NVRAM has sync mode enabled, but disconnect/reconnect disabled- the ISP_CFG_NONVRAM is definitely warranted when you want to bloody well ignore the NVRAM and set something sensible.
This commit is contained in:
parent
68ce4ba588
commit
10f20e4038
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=43793
@ -1,5 +1,5 @@
|
||||
/* $Id: ispvar.h,v 1.8 1999/01/10 02:51:48 mjacob Exp $ */
|
||||
/* release_01_29_99 */
|
||||
/* $Id: ispvar.h,v 1.9 1999/01/30 07:29:00 mjacob Exp $ */
|
||||
/* release_02_05_99 */
|
||||
/*
|
||||
* Soft Definitions for for Qlogic ISP SCSI adapters.
|
||||
*
|
||||
@ -48,7 +48,7 @@
|
||||
#endif
|
||||
|
||||
#define ISP_CORE_VERSION_MAJOR 1
|
||||
#define ISP_CORE_VERSION_MINOR 5
|
||||
#define ISP_CORE_VERSION_MINOR 6
|
||||
|
||||
/*
|
||||
* Vector for bus specific code to provide specific services.
|
||||
@ -139,7 +139,7 @@ typedef struct {
|
||||
#define DPARM_RENEG 0x0100
|
||||
#define DPARM_NARROW 0x0080 /* Possibly only available with >= 7.55 fw */
|
||||
#define DPARM_ASYNC 0x0040 /* Possibly only available with >= 7.55 fw */
|
||||
#define DPARM_DEFAULT (0xFFFF & ~DPARM_QFRZ)
|
||||
#define DPARM_DEFAULT (0xFF00 & ~DPARM_QFRZ)
|
||||
#define DPARM_SAFE_DFLT (DPARM_DEFAULT & ~(DPARM_WIDE|DPARM_SYNC|DPARM_TQING))
|
||||
|
||||
|
||||
@ -321,6 +321,7 @@ struct ispsoftc {
|
||||
* ISP Configuration Options
|
||||
*/
|
||||
#define ISP_CFG_NORELOAD 0x80 /* don't download f/w */
|
||||
#define ISP_CFG_NONVRAM 0x40 /* ignore NVRAM */
|
||||
|
||||
#define ISP_FW_REV(maj, min) ((maj) << 10| (min))
|
||||
|
||||
@ -437,7 +438,9 @@ int isp_control __P((struct ispsoftc *, ispctl_t, void *));
|
||||
*/
|
||||
|
||||
typedef enum {
|
||||
ISPASYNC_NEW_TGT_PARAMS
|
||||
ISPASYNC_NEW_TGT_PARAMS,
|
||||
ISPASYNC_LOOP_DOWN, /* Obvious FC only */
|
||||
ISPASYNC_LOOP_UP /* Obvious FC only */
|
||||
} ispasync_t;
|
||||
int isp_async __P((struct ispsoftc *, ispasync_t, void *));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user