diff options
author | Tejun Heo <htejun@gmail.com> | 2006-11-14 08:47:09 -0500 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-12-03 03:56:24 -0500 |
commit | 2432697ba0ce312d60be5009ffe1fa054a761bb9 (patch) | |
tree | 8fe745ffb50986bee7d0cab5281278c7f77f983c /drivers/ata/libata.h | |
parent | 0f0a3ad3741fd93461fcfb85dc577103c58d9be8 (diff) |
[PATCH] libata: implement ata_exec_internal_sg()
Sg'ify ata_exec_internal() and call it ata_exec_internal_sg().
Wrapper function around ata_exec_internal_sg() is implemented to
provide ata_exec_internal() interface.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 2d532da8c39..ca6f36c1311 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -58,6 +58,10 @@ extern void ata_port_flush_task(struct ata_port *ap); | |||
58 | extern unsigned ata_exec_internal(struct ata_device *dev, | 58 | extern unsigned ata_exec_internal(struct ata_device *dev, |
59 | struct ata_taskfile *tf, const u8 *cdb, | 59 | struct ata_taskfile *tf, const u8 *cdb, |
60 | int dma_dir, void *buf, unsigned int buflen); | 60 | int dma_dir, void *buf, unsigned int buflen); |
61 | extern unsigned ata_exec_internal_sg(struct ata_device *dev, | ||
62 | struct ata_taskfile *tf, const u8 *cdb, | ||
63 | int dma_dir, struct scatterlist *sg, | ||
64 | unsigned int n_elem); | ||
61 | extern unsigned int ata_do_simple_cmd(struct ata_device *dev, u8 cmd); | 65 | extern unsigned int ata_do_simple_cmd(struct ata_device *dev, u8 cmd); |
62 | extern int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class, | 66 | extern int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class, |
63 | unsigned int flags, u16 *id); | 67 | unsigned int flags, u16 *id); |