diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-11-04 23:29:52 -0500 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-11-04 23:29:52 -0500 |
commit | 849a8924a6740ecbf9711e015beca69425f0c429 (patch) | |
tree | 2bae44c5fb170a655696b7253eec7ee13c6fa437 /include/scsi/scsi_host.h | |
parent | 7015faa7df829876a0f931cd18aa6d7c24a1b581 (diff) | |
parent | ee807c2d43b54183c16580857837dae8ccb2ed22 (diff) |
Merge by Hand
Conflicts in dec_esp.c (Thanks Bacchus), scsi_transport_iscsi.c and
scsi_transport_fc.h
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/scsi_host.h')
-rw-r--r-- | include/scsi/scsi_host.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 69313ba7505b..ecd53d7872d2 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
@@ -609,6 +609,10 @@ struct Scsi_Host { | |||
609 | #define class_to_shost(d) \ | 609 | #define class_to_shost(d) \ |
610 | container_of(d, struct Scsi_Host, shost_classdev) | 610 | container_of(d, struct Scsi_Host, shost_classdev) |
611 | 611 | ||
612 | #define shost_printk(prefix, shost, fmt, a...) \ | ||
613 | dev_printk(prefix, &(shost)->shost_gendev, fmt, ##a) | ||
614 | |||
615 | |||
612 | int scsi_is_host_device(const struct device *); | 616 | int scsi_is_host_device(const struct device *); |
613 | 617 | ||
614 | static inline struct Scsi_Host *dev_to_shost(struct device *dev) | 618 | static inline struct Scsi_Host *dev_to_shost(struct device *dev) |
@@ -634,8 +638,6 @@ extern void scsi_flush_work(struct Scsi_Host *); | |||
634 | extern struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *, int); | 638 | extern struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *, int); |
635 | extern int __must_check scsi_add_host(struct Scsi_Host *, struct device *); | 639 | extern int __must_check scsi_add_host(struct Scsi_Host *, struct device *); |
636 | extern void scsi_scan_host(struct Scsi_Host *); | 640 | extern void scsi_scan_host(struct Scsi_Host *); |
637 | extern void scsi_scan_single_target(struct Scsi_Host *, unsigned int, | ||
638 | unsigned int); | ||
639 | extern void scsi_rescan_device(struct device *); | 641 | extern void scsi_rescan_device(struct device *); |
640 | extern void scsi_remove_host(struct Scsi_Host *); | 642 | extern void scsi_remove_host(struct Scsi_Host *); |
641 | extern struct Scsi_Host *scsi_host_get(struct Scsi_Host *); | 643 | extern struct Scsi_Host *scsi_host_get(struct Scsi_Host *); |