diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2002-02-04 21:04:25 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2002-02-04 21:04:25 +0000 |
| commit | 75c1e828c0f407d62605ba6ba40c542ecac4d2c5 (patch) | |
| tree | 6bc5ce3afd87000d0d3bd51b3708bd7ccb43fbc6 /sys/dev/isp/ispvar.h | |
| parent | 3fd18735a4975d99908822d60291f410de46aaf6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp/ispvar.h')
| -rw-r--r-- | sys/dev/isp/ispvar.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h index b0b694d70be1..40d82d17490c 100644 --- a/sys/dev/isp/ispvar.h +++ b/sys/dev/isp/ispvar.h @@ -73,7 +73,7 @@ struct ispmdvec { void (*dv_reset0) (struct ispsoftc *); void (*dv_reset1) (struct ispsoftc *); void (*dv_dregs) (struct ispsoftc *, const char *); - const u_int16_t *dv_ispfw; /* ptr to f/w */ + u_int16_t *dv_ispfw; /* ptr to f/w */ u_int16_t dv_conf1; u_int16_t dv_clock; /* clock frequency */ }; @@ -350,7 +350,8 @@ typedef struct ispsoftc { u_int32_t isp_maxluns; /* maximum luns supported */ u_int32_t isp_clock : 8, /* input clock */ - : 5, + : 4, + isp_port : 1, /* 23XX only */ isp_failed : 1, /* board failed */ isp_open : 1, /* opened (ioctl) */ isp_touched : 1, /* board ever seen? */ @@ -395,6 +396,10 @@ typedef struct ispsoftc { volatile u_int16_t isp_lasthdls; /* last handle seed */ volatile u_int16_t isp_mboxtmp[MAX_MAILBOX]; volatile u_int16_t isp_lastmbxcmd; /* last mbox command sent */ + volatile u_int16_t isp_mbxwrk0; + volatile u_int16_t isp_mbxwrk1; + volatile u_int16_t isp_mbxwrk2; + void * isp_mbxworkp; /* * Active commands are stored here, indexed by handle functions. @@ -772,6 +777,8 @@ void isp_prt(struct ispsoftc *, int level, const char *, ...); * MBOX_NOTIFY_COMPLETE(struct ispsoftc *) notification of mbox cmd donee * MBOX_RELEASE(struct ispsoftc *) release lock on mailbox regs * + * FC_SCRATCH_ACQUIRE(struct ispsoftc *) acquire lock on FC scratch area + * FC_SCRATCH_RELEASE(struct ispsoftc *) acquire lock on FC scratch area * * SCSI_GOOD SCSI 'Good' Status * SCSI_CHECK SCSI 'Check Condition' Status |
