diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-05-08 18:49:15 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 07:04:47 -0400 |
commit | ce2b3261b6765c3b80fda95426c73e8d3bb1b035 (patch) | |
tree | 98d2007abbe37e70ec29e01cd4752fc04442085f /drivers/scsi/isci/host.h | |
parent | 67ea838d17acdad3331aeae848683c768df96aaa (diff) |
isci: unify constants
cross driver constants are spread out over multiple header files, consolidate
them into isci.h, and push some includes out to the source files that need
them.
TODO: remove SCI_MODE_SIZE infrastructure.
TODO: task.h is full of inlines that are too large
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/host.h')
-rw-r--r-- | drivers/scsi/isci/host.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/drivers/scsi/isci/host.h b/drivers/scsi/isci/host.h index afa41e83eaa7..13c1c99ef294 100644 --- a/drivers/scsi/isci/host.h +++ b/drivers/scsi/isci/host.h | |||
@@ -53,26 +53,12 @@ | |||
53 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 53 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
54 | */ | 54 | */ |
55 | 55 | ||
56 | 56 | #ifndef _SCI_HOST_H_ | |
57 | #if !defined(_SCI_HOST_H_) | ||
58 | #define _SCI_HOST_H_ | 57 | #define _SCI_HOST_H_ |
59 | 58 | ||
60 | #include "phy.h" | ||
61 | #include "scic_sds_controller.h" | 59 | #include "scic_sds_controller.h" |
62 | #include "timers.h" | ||
63 | #include "remote_device.h" | 60 | #include "remote_device.h" |
64 | 61 | #include "phy.h" | |
65 | #define DRV_NAME "isci" | ||
66 | #define SCI_PCI_BAR_COUNT 2 | ||
67 | #define SCI_NUM_MSI_X_INT 2 | ||
68 | #define SCI_SMU_BAR 0 | ||
69 | #define SCI_SMU_BAR_SIZE (16*1024) | ||
70 | #define SCI_SCU_BAR 1 | ||
71 | #define SCI_SCU_BAR_SIZE (4*1024*1024) | ||
72 | #define SCI_IO_SPACE_BAR0 2 | ||
73 | #define SCI_IO_SPACE_BAR1 3 | ||
74 | #define ISCI_CAN_QUEUE_VAL 250 /* < SCI_MAX_IO_REQUESTS ? */ | ||
75 | #define SCIC_CONTROLLER_STOP_TIMEOUT 5000 | ||
76 | 62 | ||
77 | struct isci_host { | 63 | struct isci_host { |
78 | struct scic_sds_controller sci; | 64 | struct scic_sds_controller sci; |