diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 16:24:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 16:24:49 -0400 |
commit | 22eb5aa6c7940861f9603581665b9d9a1c60be30 (patch) | |
tree | 22890bcebae5647bcc1a29e7b544a1c5de2b1f8b /drivers/scsi/cxgb3i/cxgb3i.h | |
parent | d7ca6f8cdffa5765e486edb3dada9121fba8e6aa (diff) | |
parent | 015640edb1f346e0b2eda703587c4cd1c310ec1d (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: (74 commits)
[SCSI] sg: fix q->queue_lock on scsi_error_handler path
[SCSI] replace __inline with inline
[SCSI] a2091: make 2 functions static
[SCSI] a3000: make 2 functions static
[SCSI] ses: #if 0 the unused ses_match_host()
[SCSI] use kmem_cache_zalloc instead of kmem_cache_alloc/memset
[SCSI] sg: fix iovec bugs introduced by the block layer conversion
[SCSI] qlogicpti: use request_firmware
[SCSI] advansys: use request_firmware
[SCSI] qla1280: use request_firmware
[SCSI] libiscsi: fix iscsi pool error path
[SCSI] cxgb3i: call ddp release function directly
[SCSI] cxgb3i: merge cxgb3i_ddp into cxgb3i module
[SCSI] cxgb3i: close all tcp connections upon chip reset
[SCSI] cxgb3i: re-read ddp settings information after chip reset
[SCSI] cxgb3i: re-initialize ddp settings after chip reset
[SCSI] cxgb3i: subscribe to error notification from cxgb3 driver
[SCSI] aacraid driver update
[SCSI] mptsas: remove unneeded check
[SCSI] config: Make need for SCSI_CDROM clearer
...
Diffstat (limited to 'drivers/scsi/cxgb3i/cxgb3i.h')
-rw-r--r-- | drivers/scsi/cxgb3i/cxgb3i.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/scsi/cxgb3i/cxgb3i.h b/drivers/scsi/cxgb3i/cxgb3i.h index a7cf550b9cca..d362860e7504 100644 --- a/drivers/scsi/cxgb3i/cxgb3i.h +++ b/drivers/scsi/cxgb3i/cxgb3i.h | |||
@@ -66,10 +66,12 @@ struct cxgb3i_hba { | |||
66 | * @pdev: pointer to pci dev | 66 | * @pdev: pointer to pci dev |
67 | * @hba_cnt: # of hbas (the same as # of ports) | 67 | * @hba_cnt: # of hbas (the same as # of ports) |
68 | * @hba: all the hbas on this adapter | 68 | * @hba: all the hbas on this adapter |
69 | * @flags: bit flag for adapter event/status | ||
69 | * @tx_max_size: max. tx packet size supported | 70 | * @tx_max_size: max. tx packet size supported |
70 | * @rx_max_size: max. rx packet size supported | 71 | * @rx_max_size: max. rx packet size supported |
71 | * @tag_format: ddp tag format settings | 72 | * @tag_format: ddp tag format settings |
72 | */ | 73 | */ |
74 | #define CXGB3I_ADAPTER_FLAG_RESET 0x1 | ||
73 | struct cxgb3i_adapter { | 75 | struct cxgb3i_adapter { |
74 | struct list_head list_head; | 76 | struct list_head list_head; |
75 | spinlock_t lock; | 77 | spinlock_t lock; |
@@ -78,6 +80,7 @@ struct cxgb3i_adapter { | |||
78 | unsigned char hba_cnt; | 80 | unsigned char hba_cnt; |
79 | struct cxgb3i_hba *hba[MAX_NPORTS]; | 81 | struct cxgb3i_hba *hba[MAX_NPORTS]; |
80 | 82 | ||
83 | unsigned int flags; | ||
81 | unsigned int tx_max_size; | 84 | unsigned int tx_max_size; |
82 | unsigned int rx_max_size; | 85 | unsigned int rx_max_size; |
83 | 86 | ||
@@ -137,10 +140,9 @@ struct cxgb3i_task_data { | |||
137 | int cxgb3i_iscsi_init(void); | 140 | int cxgb3i_iscsi_init(void); |
138 | void cxgb3i_iscsi_cleanup(void); | 141 | void cxgb3i_iscsi_cleanup(void); |
139 | 142 | ||
140 | struct cxgb3i_adapter *cxgb3i_adapter_add(struct t3cdev *); | 143 | struct cxgb3i_adapter *cxgb3i_adapter_find_by_tdev(struct t3cdev *); |
141 | void cxgb3i_adapter_remove(struct t3cdev *); | 144 | void cxgb3i_adapter_open(struct t3cdev *); |
142 | int cxgb3i_adapter_ulp_init(struct cxgb3i_adapter *); | 145 | void cxgb3i_adapter_close(struct t3cdev *); |
143 | void cxgb3i_adapter_ulp_cleanup(struct cxgb3i_adapter *); | ||
144 | 146 | ||
145 | struct cxgb3i_hba *cxgb3i_hba_find_by_netdev(struct net_device *); | 147 | struct cxgb3i_hba *cxgb3i_hba_find_by_netdev(struct net_device *); |
146 | struct cxgb3i_hba *cxgb3i_hba_host_add(struct cxgb3i_adapter *, | 148 | struct cxgb3i_hba *cxgb3i_hba_host_add(struct cxgb3i_adapter *, |