aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-04-28 04:16:52 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-29 02:16:37 -0400
commitf0761be344f9b1cc4284b1d945933cd983c233a4 (patch)
treed2b999a039bee7f36b0707b80cd13fd1e1b2cfbb /drivers/ata/libata.h
parent3dd654bfdf8905d0acb6f6231b5e736d2b0d4bc6 (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.h28
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);
146extern int ata_scsi_offline_dev(struct ata_device *dev); 146extern int ata_scsi_offline_dev(struct ata_device *dev);
147extern void ata_scsi_media_change_notify(struct ata_device *dev); 147extern void ata_scsi_media_change_notify(struct ata_device *dev);
148extern void ata_scsi_hotplug(struct work_struct *work); 148extern void ata_scsi_hotplug(struct work_struct *work);
149extern unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf,
150 unsigned int buflen);
151
152extern unsigned int ata_scsiop_inq_00(struct ata_scsi_args *args, u8 *rbuf,
153 unsigned int buflen);
154
155extern unsigned int ata_scsiop_inq_80(struct ata_scsi_args *args, u8 *rbuf,
156 unsigned int buflen);
157extern unsigned int ata_scsiop_inq_83(struct ata_scsi_args *args, u8 *rbuf,
158 unsigned int buflen);
159extern unsigned int ata_scsiop_noop(struct ata_scsi_args *args, u8 *rbuf,
160 unsigned int buflen);
161extern unsigned int ata_scsiop_sync_cache(struct ata_scsi_args *args, u8 *rbuf,
162 unsigned int buflen);
163extern unsigned int ata_scsiop_mode_sense(struct ata_scsi_args *args, u8 *rbuf,
164 unsigned int buflen);
165extern unsigned int ata_scsiop_read_cap(struct ata_scsi_args *args, u8 *rbuf,
166 unsigned int buflen);
167extern unsigned int ata_scsiop_report_luns(struct ata_scsi_args *args, u8 *rbuf,
168 unsigned int buflen);
169extern void ata_scsi_badcmd(struct scsi_cmnd *cmd,
170 void (*done)(struct scsi_cmnd *),
171 u8 asc, u8 ascq);
172extern void ata_scsi_set_sense(struct scsi_cmnd *cmd,
173 u8 sk, u8 asc, u8 ascq);
174extern 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));
177extern void ata_schedule_scsi_eh(struct Scsi_Host *shost); 149extern void ata_schedule_scsi_eh(struct Scsi_Host *shost);
178extern void ata_scsi_dev_rescan(struct work_struct *work); 150extern void ata_scsi_dev_rescan(struct work_struct *work);
179extern int ata_bus_probe(struct ata_port *ap); 151extern int ata_bus_probe(struct ata_port *ap);