diff options
author | Tejun Heo <htejun@gmail.com> | 2008-04-28 04:16:52 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-29 02:16:37 -0400 |
commit | f0761be344f9b1cc4284b1d945933cd983c233a4 (patch) | |
tree | d2b999a039bee7f36b0707b80cd13fd1e1b2cfbb /drivers/ata/libata.h | |
parent | 3dd654bfdf8905d0acb6f6231b5e736d2b0d4bc6 (diff) |
libata-scsi: clean up inquiry / mode sense related functions
* make ata_scsiop_*() static
* make ata_scsi_set_sense() static and move it above its users
* make ata_scsi_rbuf_fill() static
* kill unused ata_scsi_badcmd()
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index ae2cfd95d43e..4514283937ea 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -146,34 +146,6 @@ extern void ata_scsi_scan_host(struct ata_port *ap, int sync); | |||
146 | extern int ata_scsi_offline_dev(struct ata_device *dev); | 146 | extern int ata_scsi_offline_dev(struct ata_device *dev); |
147 | extern void ata_scsi_media_change_notify(struct ata_device *dev); | 147 | extern void ata_scsi_media_change_notify(struct ata_device *dev); |
148 | extern void ata_scsi_hotplug(struct work_struct *work); | 148 | extern void ata_scsi_hotplug(struct work_struct *work); |
149 | extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf, | ||
150 | unsigned int buflen); | ||
151 | |||
152 | extern unsigned int ata_scsiop_inq_00(struct ata_scsi_args *args, u8 *rbuf, | ||
153 | unsigned int buflen); | ||
154 | |||
155 | extern unsigned int ata_scsiop_inq_80(struct ata_scsi_args *args, u8 *rbuf, | ||
156 | unsigned int buflen); | ||
157 | extern unsigned int ata_scsiop_inq_83(struct ata_scsi_args *args, u8 *rbuf, | ||
158 | unsigned int buflen); | ||
159 | extern unsigned int ata_scsiop_noop(struct ata_scsi_args *args, u8 *rbuf, | ||
160 | unsigned int buflen); | ||
161 | extern unsigned int ata_scsiop_sync_cache(struct ata_scsi_args *args, u8 *rbuf, | ||
162 | unsigned int buflen); | ||
163 | extern unsigned int ata_scsiop_mode_sense(struct ata_scsi_args *args, u8 *rbuf, | ||
164 | unsigned int buflen); | ||
165 | extern unsigned int ata_scsiop_read_cap(struct ata_scsi_args *args, u8 *rbuf, | ||
166 | unsigned int buflen); | ||
167 | extern unsigned int ata_scsiop_report_luns(struct ata_scsi_args *args, u8 *rbuf, | ||
168 | unsigned int buflen); | ||
169 | extern void ata_scsi_badcmd(struct scsi_cmnd *cmd, | ||
170 | void (*done)(struct scsi_cmnd *), | ||
171 | u8 asc, u8 ascq); | ||
172 | extern void ata_scsi_set_sense(struct scsi_cmnd *cmd, | ||
173 | u8 sk, u8 asc, u8 ascq); | ||
174 | extern void ata_scsi_rbuf_fill(struct ata_scsi_args *args, | ||
175 | unsigned int (*actor) (struct ata_scsi_args *args, | ||
176 | u8 *rbuf, unsigned int buflen)); | ||
177 | extern void ata_schedule_scsi_eh(struct Scsi_Host *shost); | 149 | extern void ata_schedule_scsi_eh(struct Scsi_Host *shost); |
178 | extern void ata_scsi_dev_rescan(struct work_struct *work); | 150 | extern void ata_scsi_dev_rescan(struct work_struct *work); |
179 | extern int ata_bus_probe(struct ata_port *ap); | 151 | extern int ata_bus_probe(struct ata_port *ap); |