diff options
| author | Anton Altaparmakov <aia21@cantab.net> | 2006-01-19 11:39:33 -0500 |
|---|---|---|
| committer | Anton Altaparmakov <aia21@cantab.net> | 2006-01-19 11:39:33 -0500 |
| commit | 944d79559d154c12becde0dab327016cf438f46c (patch) | |
| tree | 50c101806f4d3b6585222dda060559eb4f3e005a /include/scsi/scsi_transport_spi.h | |
| parent | d087e4bdd24ebe3ae3d0b265b6573ec901af4b4b (diff) | |
| parent | 0f36b018b2e314d45af86449f1a97facb1fbe300 (diff) | |
Merge branch 'master' of /usr/src/ntfs-2.6/
Diffstat (limited to 'include/scsi/scsi_transport_spi.h')
| -rw-r--r-- | include/scsi/scsi_transport_spi.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/scsi/scsi_transport_spi.h b/include/scsi/scsi_transport_spi.h index 6bdc4afb2483..fb5a2ffae939 100644 --- a/include/scsi/scsi_transport_spi.h +++ b/include/scsi/scsi_transport_spi.h | |||
| @@ -22,8 +22,12 @@ | |||
| 22 | 22 | ||
| 23 | #include <linux/config.h> | 23 | #include <linux/config.h> |
| 24 | #include <linux/transport_class.h> | 24 | #include <linux/transport_class.h> |
| 25 | #include <linux/mutex.h> | ||
| 25 | 26 | ||
| 26 | struct scsi_transport_template; | 27 | struct scsi_transport_template; |
| 28 | struct scsi_target; | ||
| 29 | struct scsi_device; | ||
| 30 | struct Scsi_Host; | ||
| 27 | 31 | ||
| 28 | struct spi_transport_attrs { | 32 | struct spi_transport_attrs { |
| 29 | int period; /* value in the PPR/SDTR command */ | 33 | int period; /* value in the PPR/SDTR command */ |
| @@ -51,7 +55,7 @@ struct spi_transport_attrs { | |||
| 51 | unsigned int support_qas; /* supports quick arbitration and selection */ | 55 | unsigned int support_qas; /* supports quick arbitration and selection */ |
| 52 | /* Private Fields */ | 56 | /* Private Fields */ |
| 53 | unsigned int dv_pending:1; /* Internal flag */ | 57 | unsigned int dv_pending:1; /* Internal flag */ |
| 54 | struct semaphore dv_sem; /* semaphore to serialise dv */ | 58 | struct mutex dv_mutex; /* semaphore to serialise dv */ |
| 55 | }; | 59 | }; |
| 56 | 60 | ||
| 57 | enum spi_signal_type { | 61 | enum spi_signal_type { |
| @@ -143,5 +147,6 @@ void spi_release_transport(struct scsi_transport_template *); | |||
| 143 | void spi_schedule_dv_device(struct scsi_device *); | 147 | void spi_schedule_dv_device(struct scsi_device *); |
| 144 | void spi_dv_device(struct scsi_device *); | 148 | void spi_dv_device(struct scsi_device *); |
| 145 | void spi_display_xfer_agreement(struct scsi_target *); | 149 | void spi_display_xfer_agreement(struct scsi_target *); |
| 150 | int spi_print_msg(const unsigned char *); | ||
| 146 | 151 | ||
| 147 | #endif /* SCSI_TRANSPORT_SPI_H */ | 152 | #endif /* SCSI_TRANSPORT_SPI_H */ |
