aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-29 20:22:03 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-29 20:22:03 -0400
commita6ce22a5f61ba838b43763bf1e5be399f9dee4d0 (patch)
tree2abed83e85724bd45c5b0b842b9ce36d1c4ca160 /include
parent4e950f6f0189f65f8bf069cf2272649ef418f5e4 (diff)
parent09120a8cd38dbdb0c9a59ff8456cf88b510e6baa (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6: (28 commits) [SCSI] mpt fusion: Changes in mptctl.c for logging support [SCSI] mpt fusion: Changes in mptfc.c mptlan.c mptsas.c and mptspi.c for logging support [SCSI] mpt fusion: Changes in mptscsih.c for logging support [SCSI] mpt fusion: Changes in mptbase.c for logging support [SCSI] mpt fusion: logging support in Kconfig, Makefile, mptbase.h and addition of mptdebug.h [SCSI] libsas: Fix potential NULL dereference in sas_smp_get_phy_events() [SCSI] bsg: Fix build for CONFIG_BLOCK=n [SCSI] aacraid: fix Sunrise Lake reset handling [SCSI] aacraid: add SCSI SYNCHONIZE_CACHE range checking [SCSI] add easyRAID to the no report luns blacklist [SCSI] advansys: lindent and other large, uninteresting changes [SCSI] aic79xx, aic7xxx: Fix incorrect width setting [SCSI] qla2xxx: fix to honor ignored parameters in sysfs attributes [SCSI] aacraid: draw line in sand, sundry cleanup and version update [SCSI] iscsi_tcp: Turn off bounce buffers [SCSI] libiscsi: fix cmd seqeunce number checking [SCSI] iscsi_tcp, ib_iser Enable module refcounting for iscsi host template [SCSI] libiscsi: make sure session is not blocked when removing host [SCSI] libsas: Remove PCI dependencies [SCSI] simscsi: convert to use the data buffer accessors ...
Diffstat (limited to 'include')
-rw-r--r--include/linux/bsg.h10
-rw-r--r--include/scsi/libiscsi.h3
-rw-r--r--include/scsi/libsas.h2
3 files changed, 11 insertions, 4 deletions
diff --git a/include/linux/bsg.h b/include/linux/bsg.h
index f415f89e0ac..102dc096e1c 100644
--- a/include/linux/bsg.h
+++ b/include/linux/bsg.h
@@ -53,15 +53,19 @@ struct bsg_class_device {
53 struct class_device *class_dev; 53 struct class_device *class_dev;
54 struct device *dev; 54 struct device *dev;
55 int minor; 55 int minor;
56 struct list_head list;
57 struct request_queue *queue; 56 struct request_queue *queue;
58}; 57};
59 58
60extern int bsg_register_queue(struct request_queue *, struct device *, const char *); 59extern int bsg_register_queue(struct request_queue *, struct device *, const char *);
61extern void bsg_unregister_queue(struct request_queue *); 60extern void bsg_unregister_queue(struct request_queue *);
62#else 61#else
63#define bsg_register_queue(disk, dev, name) (0) 62static inline int bsg_register_queue(struct request_queue * rq, struct device *dev, const char *name)
64#define bsg_unregister_queue(disk) do { } while (0) 63{
64 return 0;
65}
66static inline void bsg_unregister_queue(struct request_queue *rq)
67{
68}
65#endif 69#endif
66 70
67#endif /* __KERNEL__ */ 71#endif /* __KERNEL__ */
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index 3f631b08a1a..007d442412e 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -210,6 +210,9 @@ struct iscsi_session {
210 uint32_t exp_cmdsn; 210 uint32_t exp_cmdsn;
211 uint32_t max_cmdsn; 211 uint32_t max_cmdsn;
212 212
213 /* This tracks the reqs queued into the initiator */
214 uint32_t queued_cmdsn;
215
213 /* configuration */ 216 /* configuration */
214 int initial_r2t_en; 217 int initial_r2t_en;
215 unsigned max_r2t; 218 unsigned max_r2t;
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index df36461fe88..8dda2d66b5b 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -348,7 +348,7 @@ struct sas_ha_struct {
348 348
349/* public: */ 349/* public: */
350 char *sas_ha_name; 350 char *sas_ha_name;
351 struct pci_dev *pcidev; /* should be set */ 351 struct device *dev; /* should be set */
352 struct module *lldd_module; /* should be set */ 352 struct module *lldd_module; /* should be set */
353 353
354 u8 *sas_addr; /* must be set */ 354 u8 *sas_addr; /* must be set */