version 1.68, 2008/03/11 05:33:30 |
version 1.68.2.1, 2008/05/18 12:33:44 |
Line 106 struct ispmdvec { |
|
Line 106 struct ispmdvec { |
|
* Overall parameters |
* Overall parameters |
*/ |
*/ |
#define MAX_TARGETS 16 |
#define MAX_TARGETS 16 |
|
#ifndef MAX_FC_TARG |
#define MAX_FC_TARG 512 |
#define MAX_FC_TARG 512 |
|
#endif |
#define ISP_MAX_TARGETS(isp) (IS_FC(isp)? MAX_FC_TARG : MAX_TARGETS) |
#define ISP_MAX_TARGETS(isp) (IS_FC(isp)? MAX_FC_TARG : MAX_TARGETS) |
#define ISP_MAX_LUNS(isp) (isp)->isp_maxluns |
#define ISP_MAX_LUNS(isp) (isp)->isp_maxluns |
|
|
Line 561 struct ispsoftc { |
|
Line 563 struct ispsoftc { |
|
volatile uint32_t : 8, |
volatile uint32_t : 8, |
: 2, |
: 2, |
isp_dead : 1, |
isp_dead : 1, |
isp_in_intr : 1, |
: 1, |
isp_mboxbsy : 1, /* mailbox command active */ |
isp_mboxbsy : 1, /* mailbox command active */ |
isp_state : 3, |
isp_state : 3, |
isp_nactive : 16; /* how many commands active */ |
isp_nactive : 16; /* how many commands active */ |
Line 737 struct ispsoftc { |
|
Line 739 struct ispsoftc { |
|
#define ISP_HA_FC_2400 0x60 |
#define ISP_HA_FC_2400 0x60 |
|
|
#define IS_SCSI(isp) (isp->isp_type & ISP_HA_SCSI) |
#define IS_SCSI(isp) (isp->isp_type & ISP_HA_SCSI) |
|
#define IS_1020(isp) (isp->isp_type < ISP_HA_SCSI_1240) |
#define IS_1240(isp) (isp->isp_type == ISP_HA_SCSI_1240) |
#define IS_1240(isp) (isp->isp_type == ISP_HA_SCSI_1240) |
#define IS_1080(isp) (isp->isp_type == ISP_HA_SCSI_1080) |
#define IS_1080(isp) (isp->isp_type == ISP_HA_SCSI_1080) |
#define IS_1280(isp) (isp->isp_type == ISP_HA_SCSI_1280) |
#define IS_1280(isp) (isp->isp_type == ISP_HA_SCSI_1280) |
Line 966 void isp_async(ispsoftc_t *, ispasync_t, |
|
Line 969 void isp_async(ispsoftc_t *, ispasync_t, |
|
* MBOX_RELEASE(ispsoftc_t *) release lock on mailbox regs |
* MBOX_RELEASE(ispsoftc_t *) release lock on mailbox regs |
* |
* |
* FC_SCRATCH_ACQUIRE(ispsoftc_t *, chan) acquire lock on FC scratch area |
* FC_SCRATCH_ACQUIRE(ispsoftc_t *, chan) acquire lock on FC scratch area |
|
* return -1 if you cannot |
* FC_SCRATCH_RELEASE(ispsoftc_t *, chan) acquire lock on FC scratch area |
* FC_SCRATCH_RELEASE(ispsoftc_t *, chan) acquire lock on FC scratch area |
* |
* |
* SCSI_GOOD SCSI 'Good' Status |
* SCSI_GOOD SCSI 'Good' Status |
Line 1008 void isp_async(ispsoftc_t *, ispasync_t, |
|
Line 1012 void isp_async(ispsoftc_t *, ispasync_t, |
|
* |
* |
* XS_SAVE_SENSE(xs, sp, len) save sense data |
* XS_SAVE_SENSE(xs, sp, len) save sense data |
* |
* |
* XS_SET_STATE_STAT(isp, sp, xs) platform dependent interpreter of |
|
* response queue entry status bits |
|
* |
|
* |
|
* DEFAULT_FRAMESIZE(ispsoftc_t *) Default Frame Size |
* DEFAULT_FRAMESIZE(ispsoftc_t *) Default Frame Size |
* DEFAULT_EXEC_THROTTLE(ispsoftc_t *) Default Execution Throttle |
* DEFAULT_EXEC_THROTTLE(ispsoftc_t *) Default Execution Throttle |
* |
* |