diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-17 20:54:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-17 20:54:40 -0400 |
commit | c55d267de274d308927b60c3e740c1a826832317 (patch) | |
tree | 21b53a8c725d9f9650f60d94b349459d5b8dae10 /drivers/scsi/mpt2sas/mpt2sas_base.h | |
parent | 61ef46fd45c3c62dc7c880a45dd2aa841b9af8fb (diff) | |
parent | bc898c97f7ba24def788d9f80786cf028a197122 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (170 commits)
[SCSI] scsi_dh_rdac: Add MD36xxf into device list
[SCSI] scsi_debug: add consecutive medium errors
[SCSI] libsas: fix ata list corruption issue
[SCSI] hpsa: export resettable host attribute
[SCSI] hpsa: move device attributes to avoid forward declarations
[SCSI] scsi_debug: Logical Block Provisioning (SBC3r26)
[SCSI] sd: Logical Block Provisioning update
[SCSI] Include protection operation in SCSI command trace
[SCSI] hpsa: fix incorrect PCI IDs and add two new ones (2nd try)
[SCSI] target: Fix volume size misreporting for volumes > 2TB
[SCSI] bnx2fc: Broadcom FCoE offload driver
[SCSI] fcoe: fix broken fcoe interface reset
[SCSI] fcoe: precedence bug in fcoe_filter_frames()
[SCSI] libfcoe: Remove stale fcoe-netdev entries
[SCSI] libfcoe: Move FCOE_MTU definition from fcoe.h to libfcoe.h
[SCSI] libfc: introduce __fc_fill_fc_hdr that accepts fc_hdr as an argument
[SCSI] fcoe, libfc: initialize EM anchors list and then update npiv EMs
[SCSI] Revert "[SCSI] libfc: fix exchange being deleted when the abort itself is timed out"
[SCSI] libfc: Fixing a memory leak when destroying an interface
[SCSI] megaraid_sas: Version and Changelog update
...
Fix up trivial conflicts due to whitespace differences in
drivers/scsi/libsas/{sas_ata.c,sas_scsi_host.c}
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_base.h')
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_base.h | 40 |
1 files changed, 34 insertions, 6 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index 283568c6fb04..a3f8aa9baea4 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.h +++ b/drivers/scsi/mpt2sas/mpt2sas_base.h | |||
@@ -69,8 +69,8 @@ | |||
69 | #define MPT2SAS_DRIVER_NAME "mpt2sas" | 69 | #define MPT2SAS_DRIVER_NAME "mpt2sas" |
70 | #define MPT2SAS_AUTHOR "LSI Corporation <DL-MPTFusionLinux@lsi.com>" | 70 | #define MPT2SAS_AUTHOR "LSI Corporation <DL-MPTFusionLinux@lsi.com>" |
71 | #define MPT2SAS_DESCRIPTION "LSI MPT Fusion SAS 2.0 Device Driver" | 71 | #define MPT2SAS_DESCRIPTION "LSI MPT Fusion SAS 2.0 Device Driver" |
72 | #define MPT2SAS_DRIVER_VERSION "07.100.00.00" | 72 | #define MPT2SAS_DRIVER_VERSION "08.100.00.00" |
73 | #define MPT2SAS_MAJOR_VERSION 07 | 73 | #define MPT2SAS_MAJOR_VERSION 08 |
74 | #define MPT2SAS_MINOR_VERSION 100 | 74 | #define MPT2SAS_MINOR_VERSION 100 |
75 | #define MPT2SAS_BUILD_VERSION 00 | 75 | #define MPT2SAS_BUILD_VERSION 00 |
76 | #define MPT2SAS_RELEASE_VERSION 00 | 76 | #define MPT2SAS_RELEASE_VERSION 00 |
@@ -101,7 +101,8 @@ | |||
101 | #define MPT_NAME_LENGTH 32 /* generic length of strings */ | 101 | #define MPT_NAME_LENGTH 32 /* generic length of strings */ |
102 | #define MPT_STRING_LENGTH 64 | 102 | #define MPT_STRING_LENGTH 64 |
103 | 103 | ||
104 | #define MPT_MAX_CALLBACKS 16 | 104 | #define MPT_MAX_CALLBACKS 16 |
105 | |||
105 | 106 | ||
106 | #define CAN_SLEEP 1 | 107 | #define CAN_SLEEP 1 |
107 | #define NO_SLEEP 0 | 108 | #define NO_SLEEP 0 |
@@ -154,6 +155,20 @@ | |||
154 | #define MPT2SAS_DELL_6GBPS_SAS_SSDID 0x1F22 | 155 | #define MPT2SAS_DELL_6GBPS_SAS_SSDID 0x1F22 |
155 | 156 | ||
156 | /* | 157 | /* |
158 | * Intel HBA branding | ||
159 | */ | ||
160 | #define MPT2SAS_INTEL_RMS2LL080_BRANDING \ | ||
161 | "Intel Integrated RAID Module RMS2LL080" | ||
162 | #define MPT2SAS_INTEL_RMS2LL040_BRANDING \ | ||
163 | "Intel Integrated RAID Module RMS2LL040" | ||
164 | |||
165 | /* | ||
166 | * Intel HBA SSDIDs | ||
167 | */ | ||
168 | #define MPT2SAS_INTEL_RMS2LL080_SSDID 0x350E | ||
169 | #define MPT2SAS_INTEL_RMS2LL040_SSDID 0x350F | ||
170 | |||
171 | /* | ||
157 | * per target private data | 172 | * per target private data |
158 | */ | 173 | */ |
159 | #define MPT_TARGET_FLAGS_RAID_COMPONENT 0x01 | 174 | #define MPT_TARGET_FLAGS_RAID_COMPONENT 0x01 |
@@ -431,14 +446,14 @@ struct chain_tracker { | |||
431 | }; | 446 | }; |
432 | 447 | ||
433 | /** | 448 | /** |
434 | * struct request_tracker - firmware request tracker | 449 | * struct scsiio_tracker - scsi mf request tracker |
435 | * @smid: system message id | 450 | * @smid: system message id |
436 | * @scmd: scsi request pointer | 451 | * @scmd: scsi request pointer |
437 | * @cb_idx: callback index | 452 | * @cb_idx: callback index |
438 | * @chain_list: list of chains associated to this IO | 453 | * @chain_list: list of chains associated to this IO |
439 | * @tracker_list: list of free request (ioc->free_list) | 454 | * @tracker_list: list of free request (ioc->free_list) |
440 | */ | 455 | */ |
441 | struct request_tracker { | 456 | struct scsiio_tracker { |
442 | u16 smid; | 457 | u16 smid; |
443 | struct scsi_cmnd *scmd; | 458 | struct scsi_cmnd *scmd; |
444 | u8 cb_idx; | 459 | u8 cb_idx; |
@@ -447,6 +462,19 @@ struct request_tracker { | |||
447 | }; | 462 | }; |
448 | 463 | ||
449 | /** | 464 | /** |
465 | * struct request_tracker - misc mf request tracker | ||
466 | * @smid: system message id | ||
467 | * @scmd: scsi request pointer | ||
468 | * @cb_idx: callback index | ||
469 | * @tracker_list: list of free request (ioc->free_list) | ||
470 | */ | ||
471 | struct request_tracker { | ||
472 | u16 smid; | ||
473 | u8 cb_idx; | ||
474 | struct list_head tracker_list; | ||
475 | }; | ||
476 | |||
477 | /** | ||
450 | * struct _tr_list - target reset list | 478 | * struct _tr_list - target reset list |
451 | * @handle: device handle | 479 | * @handle: device handle |
452 | * @state: state machine | 480 | * @state: state machine |
@@ -709,7 +737,7 @@ struct MPT2SAS_ADAPTER { | |||
709 | u8 *request; | 737 | u8 *request; |
710 | dma_addr_t request_dma; | 738 | dma_addr_t request_dma; |
711 | u32 request_dma_sz; | 739 | u32 request_dma_sz; |
712 | struct request_tracker *scsi_lookup; | 740 | struct scsiio_tracker *scsi_lookup; |
713 | ulong scsi_lookup_pages; | 741 | ulong scsi_lookup_pages; |
714 | spinlock_t scsi_lookup_lock; | 742 | spinlock_t scsi_lookup_lock; |
715 | struct list_head free_list; | 743 | struct list_head free_list; |